Commit fcb8a7a9 authored by Stelle, George Widgery's avatar Stelle, George Widgery
Browse files

Added c/c++ compat for kitsune.h

parent 12d6e9da
Loading
Loading
Loading
Loading
+7 −1
Original line number Diff line number Diff line
@@ -3,7 +3,13 @@
#include <stdint.h>

#define ocl_mmap(a, n) __kitsune_opencl_mmap_marker((void*)a, n)
extern "C" void __kitsune_opencl_mmap_marker(void* ptr, uint64_t n);
#ifdef _cplusplus
extern "C"{
#endif
void  __kitsune_opencl_mmap_marker(void* ptr, uint64_t n);
#ifdef _cplusplus
}
#endif
#define spawn _kitsune_spawn
#define sync _kitsune_sync
#define forall _kitsune_forall