Try to evaluate available OpenCL device memory and use this information instead of total available OpenCL device memory for autotune

This commit is contained in:
jsteube
2018-08-05 23:29:54 +02:00
parent af2626e67a
commit e67195aa11
3 changed files with 63 additions and 3 deletions
+1
View File
@@ -953,6 +953,7 @@ typedef struct hc_device_param
u32 device_processors;
u64 device_maxmem_alloc;
u64 device_global_mem;
u64 device_available_mem;
u32 device_maxclock_frequency;
size_t device_maxworkgroup_size;
u64 device_local_mem_size;