– putMapBuffer on CPU-based OpenCL devices
In Reply To
I have two questions.
(1) Is putMapBuffer (CLCommandQueue class) used on CPU based OpenCL devices results in no-copy on CPU devices?
(2) "putMapBuffer" method always returns a ByteBuffer? am i required to cast this bytebuffer to other types or not? Any example will be great. e.g. i have a flot buffer and i want to map this instead of using putReadBuffer and putWriteBuffer buffers on CPUs