Fixed race condition in server

This commit is contained in:
Joseph Redmon
2014-12-08 11:48:57 -08:00
parent d81ab1942b
commit cb1f33c6ae
13 changed files with 56 additions and 41 deletions

View File

@@ -19,7 +19,7 @@ typedef struct {
extern cl_info cl;
void cl_setup();
void cl_setup(int index);
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);