AnsweredAssumed Answered

GPU Memory Allocation Failure on Trinity APU

Question asked by farooqun on May 27, 2014
Latest reply on Jun 6, 2014 by gopal

I am hitting a CL_MEM_OBJECT_ALLOCATION_FAILURE when I try to run relatively large graphs on the GPU device of my Trinity APU machine. I configured GPU_MAX_ALLOC_PERCENT=100 and GPU_MAX_HEAP_SIZE=100, which increases my GPU device max memory allocation to about 1.8 GB. However, I need to be able to execute larger graphs on the GPU. Is there any way I can further increase this limit? On an APU machine, where I can use CL_MEM_ALLOC_HOST_PTR to use (zero-copy) CPU-side of the memory, I would have expected to not encounter such a limit since the data is supposed to reside on the CPU memory and is simply mapped (not copied) over to the GPU. As such, should I not be able to use more of the CPU memory than just around 2 GB to run kernels on the GPU? Is there a way around this?

Outcomes