How can I allocate more than 4G memory for clbuffer?
in accordance to clinfo output:
Global memory size 16416116736 (15.29GiB)
Error Correction support No
Max memory allocation 4104029184 (3.822GiB)
"CL_DEVICE_MAX_MEM_ALLOC_SIZE - Max size of memory object allocation in bytes. The minimum value is max (1/4th of CL_DEVICE_GLOBAL_MEM_SIZE, 128*1024*1024) for devices that are not of type CL_DEVICE_TYPE_CUSTOM."
So, why is it limited to 1/4?
Imho, it is bug, which do not let me use whole available memory I've paid for.
Are there any hidden magic environment settings similar to GPU_SINGLE_ALLOC_PERCENT from AMD?
Can you tell us a bit more about your system?
- Processor Type
- Driver version
The global memory size/4 cap has been removed in recent drivers, so the first thing is to check the info above. This could help determine next steps.