I was trying to render some very large images with my program, and I’ve noticed what appears to be a 64-bitness error in OpenCL. If you try to copy a buffer to the device with a host address above 4 GB, it will return an out of resources error the next time clFlush is called. It doesn’t matter what size the buffer is, just that the host address does not fit in 32 bits.
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
CL_OUT_OF_RESOURCES In what situation it can be at ReadBuffer call? | 5 | 2814 | October 12, 2010 | |
Memory Thrashing with Large Buffer | 0 | 7721 | March 29, 2010 | |
Updating to OpenCL 1.1 - OUT_OF_RESOURCES exception with clEnqueueReadBuffer | 4 | 7106 | March 22, 2011 | |
Address out of bounds error - help! | 0 | 1028 | August 8, 2019 | |
cudaMallocHost fails with out of memory error | 0 | 2210 | June 18, 2008 | |
Is it possible to use more than 4 GB of VRAM using OpenCL? | 1 | 1637 | February 9, 2015 | |
Memory issues | 2 | 763 | September 29, 2010 | |
Cuda 4-way Overlap Problem | 0 | 1407 | May 8, 2012 | |
opencl 6GB memory problem get error message at 4.2GB of memory | 20 | 10916 | October 27, 2015 | |
CL_OUT_OF_RESOURCES error on clEnqueueReadBuffer Driver crashes and I get an CL_OUT_OF_RESOURCES err | 2 | 12716 | February 25, 2011 |