Hello Ronie.
thanks for your response.
Sorry for the late answering. I needed to check some stuffs.
no problem.
What kind of error are you getting? a NativeBoost error or incorrect
results?
Yes I were getting incorrect result. But when I use methods like
asCLFloatArray and asFlotArrayFromCL it works.
For completeness, I just added the following new methods.
Nice! I am sure that it makes OpenCL package more and more robust and enable
friendly programming on GPU.
Unlike passing an IntegerArray or a FloatArray, these are method are
creating a new array, looping over all elements and doing
marshalling/unmarshalling. These methods can be very inefficient. Be careful
when using them.
Yes thanks a lot Ronie I will be careful to this.
@Ben Cormas
Look at this link
http://forum.world.st/Using-VirtualGPU-td4826028.html
-
Cheikhou
--
View this message in context:
http://forum.world.st/Use-array-of-float-to-GPU-memory-tp4831970p4832335.html
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.