mirror of
https://github.com/pjreddie/darknet.git
synced 2023-08-10 21:13:14 +03:00
Can validate on imagenet now
This commit is contained in:
@@ -7,7 +7,6 @@
|
||||
#include <CL/cl.h>
|
||||
#endif
|
||||
|
||||
#define NUM_QUEUES 8
|
||||
|
||||
typedef struct {
|
||||
int initialized;
|
||||
@@ -16,13 +15,11 @@ typedef struct {
|
||||
cl_device_id device;
|
||||
cl_context context;
|
||||
cl_command_queue queue;
|
||||
cl_command_queue queues[NUM_QUEUES];
|
||||
}cl_info;
|
||||
|
||||
extern cl_info cl;
|
||||
|
||||
void cl_setup();
|
||||
void wait_for_queues();
|
||||
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);
|
||||
|
||||
Reference in New Issue
Block a user