Login  Register

Re: CLMemory#getNIOSize should use buffer.limit() instead of buffer.capacity().

Posted by Emily Leiviskä on Nov 16, 2016; 4:12pm
URL: https://forum.jogamp.org/CLMemory-getNIOSize-should-use-buffer-limit-instead-of-buffer-capacity-tp4037407p4037422.html

Never mind, I found it. The host buffer had to be set to native byte order.

Pull request incoming :)