Implemented OpenCL library loader

This commit is contained in:
Gabriele 'matrix' Gristina
2016-01-26 21:40:49 +01:00
parent 1124687270
commit 5bae9de3a3
7 changed files with 561 additions and 347 deletions
+4
View File
@@ -46,6 +46,8 @@
#include <mach-o/dyld.h>
#endif
typedef void *OCL_LIB;
#ifdef HAVE_HWMON
typedef void *HM_LIB;
#endif
@@ -78,6 +80,8 @@ typedef UINT64 uint64_t;
typedef HINSTANCE HM_LIB;
#endif
typedef HINSTANCE OCL_LIB;
#define mkdir(name,mode) mkdir (name)
#endif // _WIN