I found there existed a bug for clEnqueueReadBufferRect API. The system will crash when alloc memory size large than 4GB. Does anyone know how to fix this problem? Thanks
What's the error message?
The system hanged in clEnqueueReadBufferRect API without any message. I faced this problem when running clMAGMA workload with input matrix size 32Kx32K for SGETRF.
1. when the input size is less than 4gb, the system would not hange?
2. Could you use other API to replace it, such as clEnqueueReadBuffer?
If you used clEnqueueReadBuffer, and it failed when the size is 4gb, I think it's the buffer size caused the problem.
Thanks for your replying.
1. For the input size less than 4GB, I can run the workload successfully.
2. I tried use another memory copy API. For memory buffer write , if I use clEnqueueWriteBuffer instead of clEnqueueWriteBufferRect, it can pass successfully even the buffer size is large than 4GB. However, for memory buffer read, the system still hanged for both clEnqueueReadBufferRect API and clEnqueueReadBuffer API when the memory alloc size is large than 4GB.
So currently, it's hard to fully use all the 6GB memory on W9000 card.
Retrieving data ...