OpenCL Buffer Creation
问题 I am fairly new to OpenCL and though I have understood everything up until now, but I am having trouble understanding how buffer objects work. I haven't understood where a buffer object is stored. In this StackOverflow question it is stated that: If you have one device only , probably (99.99%) is going to be in the device. (In rare cases it may be in the host if the device does not have enough memory for the time being) To me, this means that buffer objects are stored in device memory.