mirror of
https://github.com/pjreddie/darknet.git
synced 2023-08-10 21:13:14 +03:00
So there WAS this huge bug. Gone now
This commit is contained in:
@@ -1,3 +1,6 @@
|
||||
#ifdef GPU
|
||||
#ifndef OPENCL_H
|
||||
#define OPENCL_H
|
||||
#ifdef __APPLE__
|
||||
#include <OpenCL/opencl.h>
|
||||
#else
|
||||
@@ -18,4 +21,7 @@ extern cl_info cl;
|
||||
void cl_setup();
|
||||
void check_error(cl_info info);
|
||||
cl_kernel get_kernel(char *filename, char *kernelname, char *options);
|
||||
|
||||
void cl_read_array(cl_mem mem, float *x, int n);
|
||||
void cl_write_array(cl_mem mem, float *x, int n);
|
||||
#endif
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user