Fix calculation of device_name_chksum; should be done for each iteration

This commit is contained in:
jsteube
2017-07-22 18:46:12 +02:00
parent c289fcb2b0
commit b847bbb274
2 changed files with 28 additions and 25 deletions
+2 -1
View File
@@ -1008,7 +1008,6 @@ typedef struct hc_device_param
char *device_name;
char *device_vendor;
char *device_name_chksum;
char *device_version;
char *driver_version;
char *device_opencl_version;
@@ -1142,6 +1141,8 @@ typedef struct opencl_ctx
bool need_xnvctrl;
bool need_sysfs;
int comptime;
int force_jit_compilation;
} opencl_ctx_t;