cancel
Showing results for 
Search instead for 
Did you mean: 

Archives Discussions

jinhou
Journeyman III

System freeze for clEnqueueReadBufferRect API

Hi all,

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

0 Likes
4 Replies
Wenju
Elite

Hi jinhou,

What's the error message?

0 Likes

The system hanged in clEnqueueReadBufferRect API without any message. I faced this problem when running clMAGMA workload with input matrix size 32Kx32K for SGETRF.

0 Likes

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.

0 Likes

Hi Wenju,

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.

Thanks

0 Likes