Good day!
I want to allocate large buffers on GPU only. My current code is as following for 2GB chunk of memory:
clCreateBuffer(context, CL_MEM_HOST_NO_ACCESS | CL_MEM_READ_WRITE, 2 * 1024 * 1024 * 1024, nullptr, &result);
The problem is that this 2GB of memory is also allocated in VRAM! And if there is not enough memory in VRAM, my application just closed by the Windows.
My question is how to allocate memory on the GPU only without allocation in VRAM of host?
Best regards, Dmitry.