Re: [Pharo-users] Copy array of float to GPU memory

2015-06-14 Thread cheikhou
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.



Re: [Pharo-users] storeOn: and literal limits

2015-06-14 Thread stepharo

storeOn: is old because it will not handle cycles and other.
So I would simply use Ston.

Stef

Le 14/6/15 06:20, Sean P. DeNigris a écrit :

Thierry Goubier wrote

There is some code in SmaCC to handle that.

Would it make sense to extract?



-
Cheers,
Sean
--
View this message in context: 
http://forum.world.st/storeOn-and-literal-limits-tp4832255p4832324.html
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.