https://forum.jogamp.org/Parallel-computation-on-CPU-faster-than-GPU-tp2963506p3419476.html
and to create a context simply pass the device to the factory method.
>
> // an array with available opencl devices detected on your system
> CLDevice[] devices = context.getDevices();
>
> for(int i=0; i<devices.length; i++)
> {
> out.println("device-" + i + ": " + devices[i]);
> }
>
> // have a look at the output and select a device
> CLDevice device = devices[0];
> On Thu, Oct 13, 2011 at 7:07 PM, Abimael [via jogamp]<
>
[hidden email]> wrote:
>
>> @Michael
>>
>> I had heard about it , but how can I do that.? I mean, how can I run OPENCL
>> on CPU to compare ?
>>
>> I recall that I read some day that in either createProgram or build (I do
>> not recall which one) , I could pass an argument to redirect to GPU or CPU..
>>
>>
>> Is that the way to run OpenCL on CPU , or should I need to install a proper
>> implementation (or libraries) to run on CPU ?
>>
>> thanks
>>
>> ------------------------------
>> If you reply to this email, your message will be added to the discussion
>> below:
>>
>>
http://forum.jogamp.org/Parallel-computation-on-CPU-faster-than-GPU-tp2963506p3419346.html>> To unsubscribe from Parallel computation on CPU faster than GPU!, click
>> here<
>>
>>
>
> _______________________________________________
> If you reply to this email, your message will be added to the discussion below:
> http://forum.jogamp.org/Parallel-computation-on-CPU-faster-than-GPU-tp2963506p3419350.html> To start a new topic under jogamp, email
[hidden email]
> To unsubscribe from jogamp, visit
http://michael-bien.com/