share more code between OpenCL kernels and C++ by moving kernel data structures/code to the 'shared' folders

This commit is contained in:
erwin coumans
2013-11-06 19:57:36 -08:00
parent 82a6855f9e
commit a9a758dd54
21 changed files with 549 additions and 364 deletions

View File

@@ -8,9 +8,10 @@ struct MyTest
#ifdef __cplusplus
#define b3AtomicInc(a) ((*a)++)
#define __global
#else
#define b3AtomicInc atomic_inc
#define b3Fabs fabs
#endif
#endif