Reply – putMapBuffer on CPU-based OpenCL devices
Your Name
Subject
Message
or Cancel
In Reply To
putMapBuffer on CPU-based OpenCL devices
— by suleman suleman
Hi,

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

Thanks