Fixed selection of OpenCL devices (-d) if there's more than 32 OpenCL devices installed
This commit is contained in:
+1
-1
@@ -108,7 +108,7 @@ but this is nededed for VS compiler which doesn't have inline keyword but has __
|
||||
|
||||
#define CPT_CACHE 0x20000
|
||||
#define PARAMCNT 64
|
||||
#define DEVICES_MAX 128
|
||||
#define DEVICES_MAX 64
|
||||
#define EXEC_CACHE 128
|
||||
#define SPEED_CACHE 4096
|
||||
#define SPEED_MAXAGE 4096
|
||||
|
||||
+2
-2
@@ -1346,8 +1346,8 @@ typedef struct opencl_ctx
|
||||
u64 kernel_power_all;
|
||||
u64 kernel_power_final; // we save that so that all divisions are done from the same base
|
||||
|
||||
u32 opencl_platforms_filter;
|
||||
u32 devices_filter;
|
||||
u64 opencl_platforms_filter;
|
||||
u64 devices_filter;
|
||||
cl_device_type device_types_filter;
|
||||
|
||||
double target_msec;
|
||||
|
||||
Reference in New Issue
Block a user