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

2015-06-13 Thread Ronie Salgado

 sounds interesting, but what is the context of this?  Is this built
 into Pharo, what version?  Or what library?

Those methods are not built into Pharo. They are present in the OpenCL
bindings ( http://smalltalkhub.com/#!/~ronsaldo/OpenCL ), and I don't think
they are very efficient in my opinion.

See my answer to the original question for more information.

Greetings,
Ronie

2015-06-12 22:22 GMT-03:00 Ben Coman b...@openinworld.com:

 On Fri, Jun 12, 2015 at 10:38 PM, cheikhou cheikho...@gmail.com wrote:
 
  Finally I have found a useful method called asCLFloatArray that
 converts
  float arrays of CPU as CL float arrays of GPU. The reverse action is
  possible by using asFloatArrayFromCL.(from GPU to CPU memory)

 sounds interesting, but what is the context of this?  Is this built
 into Pharo, what version?  Or what library?
 cheers -ben




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

2015-06-12 Thread Ben Coman
On Fri, Jun 12, 2015 at 10:38 PM, cheikhou cheikho...@gmail.com wrote:

 Finally I have found a useful method called asCLFloatArray that converts
 float arrays of CPU as CL float arrays of GPU. The reverse action is
 possible by using asFloatArrayFromCL.(from GPU to CPU memory)

sounds interesting, but what is the context of this?  Is this built
into Pharo, what version?  Or what library?
cheers -ben



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

2015-06-12 Thread cheikhou

Finally I have found a useful method called asCLFloatArray that converts
float arrays of CPU as CL float arrays of GPU. The reverse action is
possible by using asFloatArrayFromCL.(from GPU to CPU memory)

Thanks. 



-
Cheikhou
--
View this message in context: 
http://forum.world.st/Use-array-of-float-to-GPU-memory-tp4831970p4832088.html
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.