cancel
Showing results for 
Search instead for 
Did you mean: 

Archives Discussions

zoli0726
Journeyman III

Cant allocate max_memory_alloc_size

Hi! I could appreciate some help.

I have a 280x aka tahiti gpu with 3gb memory.

the max_mem_alloc_size is 512mb.

Howewer if i try to create a buffer above ~250mb, clenqueuewritebuffer fails with error code -4: clEnqueueWriteBuffer returns CL_MEM_OBJECT_ALLOCATION_FAILURE;

For testing purposes its the only buffer i use, so memory limit coudnt be a problem.

Im using 13.9 whql driver. sdk 2.9.1.

Is it a bug, or something i didn't know about?

Help me please. Thank you!

0 Likes
1 Reply
dipak
Big Boss

Please try with the latest driver. If still face the same problem, please share the host code used for allocating and writing the memory buffer.

Regards,

0 Likes