This commit is contained in:
Jens Steube
2016-07-08 14:39:15 +02:00
5 changed files with 54 additions and 4 deletions
+5
View File
@@ -52,6 +52,11 @@
#include <mach/mach.h>
#endif
#ifdef __FreeBSD__
#include <termios.h>
#include <sys/ioctl.h>
#endif
typedef void *OCL_LIB;
#ifdef HAVE_HWMON
+4
View File
@@ -27,6 +27,10 @@
// #include <CL/cl_ext.h> // used for CL_DEVICE_TOPOLOGY_AMD but broken for dual GPU
#endif
#ifdef __FreeBSD__
#include <CL/cl.h>
#endif
#include <shared.h>
typedef cl_mem (CL_API_CALL *OCL_CLCREATEBUFFER) (cl_context, cl_mem_flags, size_t, void *, cl_int *);