Raistmer

Pinned memory allocation failed when allocated GPU memory exceeded 128M

Discussion created by Raistmer on Mar 11, 2010
Latest reply on May 25, 2010 by jcbrown
why pinned memory allocation failed, not GPU buffer one?...


After execution of this string:
power_range=clCreateBuffer(context, CL_MEM_READ_WRITE | CL_MEM_ALLOC_HOST_PTR, sizeof(cl_float)*fft_len/2*state.dm_chunk_small*2*DATA_CHUNK_UNROLL, NULL, &err);
if(err)fprintf(stderr,"ERROR: clCreateBuffer(power_range):%d\n",err);

I recived "-4" error, buffer allocation failed.
Requested size was 64 MB.

1) What current limit for pinned memory allocation?
2) Does pinned memory request results in GPU memory allocation too?

Outcomes