include the right cl.h on FreeBSD

pull/421/head
Nikolai Lifanov 8 years ago
parent dd66aba33f
commit a2663fb93a

@ -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 *);

Loading…
Cancel
Save