Fix calculation of device_name_chksum; should be done for each iteration
This commit is contained in:
+2
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user