Quantcast
Channel: Intel® Software - OpenCL*
Viewing all articles
Browse latest Browse all 1182

How can I allocate more than 4G memory for clbuffer?

$
0
0

Dear friends,

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)

OpenCL Spec:

"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?

Best regards,
Victor


Viewing all articles
Browse latest Browse all 1182

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>