diff options
Diffstat (limited to 'src/core/cpu/device.cpp')
-rw-r--r-- | src/core/cpu/device.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/core/cpu/device.cpp b/src/core/cpu/device.cpp index b0732ac..2c85ea8 100644 --- a/src/core/cpu/device.cpp +++ b/src/core/cpu/device.cpp @@ -509,8 +509,11 @@ cl_int CPUDevice::info(cl_device_info param_name, "MemTotal:", 512*1024) * 1024); break; - case CL_DEVICE_MAX_MEM_ALLOC_SIZE: case CL_DEVICE_LOCAL_MEM_SIZE: + SIMPLE_ASSIGN(cl_ulong, 128 * 1024); + break; + + case CL_DEVICE_MAX_MEM_ALLOC_SIZE: case CL_DEVICE_MAX_CONSTANT_BUFFER_SIZE: // TODO: 1 Gio seems to be enough for software acceleration |