Long time ago for CAL pinned memory limit was 16M for WindowsXP and 64M for Windows Vista. And this is overall limit, i.e. the sum of all allocated pinned memory.
I have no idea was it increased with OpenCL release or not.
Originally posted by: Raistmer Did code revision - my "pinned" memory request was only 14MB, not 64 as I thought. But total memory requested from OpenCL runtime was >128MB. So, does it mean that runtime indeed took attempt to shadow memory allocated with CL_MEM_ALLOC_HOST_PTR to GPU and failed to do this (because of 128M limitation for HD4xxx cards) ??
Yes.
That is, big question arise : is it possible to allocate (via OpenCL of course) memory buffer in host memory only and how to do this ?
What do u mean by 'in host memory only'? CL_MEM_ALLOC_HOST_PTR allocates the memory in host memory.
What do u mean by 'in host memory only'? CL_MEM_ALLOC_HOST_PTR allocates the memory in host memory.
is it possible to avoid GPU buffer creation? That is, to allocate buffer only in host memory.
Presently, no.
There are many approaches to read from an array using multiple arrays or one dimensional array. The same can be done by 2 dimensional arrays also. But the area to be concentrated is the overflowing area. Overflowing is the process that occurs when they entered details exceed the array size or memory. The one way by which this can be avoided is by expanding the memory location or the array size. Else the problems like exceeding of memory location happen.