Wrap atomic functions with hc_ prefix to have better platform control

This commit is contained in:
Jens Steube
2021-04-20 17:47:44 +02:00
parent 73cc3170f4
commit 62fc3601bb
146 changed files with 471 additions and 446 deletions
+2 -2
View File
@@ -23,8 +23,8 @@ typedef struct digest
} digest_t;
#endif
u32 atomic_dec (u32 *p);
u32 atomic_inc (u32 *p);
u32 hc_atomic_dec (u32 *p);
u32 hc_atomic_inc (u32 *p);
size_t get_global_id (u32 dimindx __attribute__((unused)));
size_t get_local_id (u32 dimindx __attribute__((unused)));