– Re: Parallel computation on CPU faster than GPU!
In Reply To
Re: Parallel computation on CPU faster than GPU!
// 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;
Hope it helps!
On Thu, Oct 13, 2011 at 7:07 PM, Abimael [via jogamp] <
> 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 ?
> If you reply to this email, your message will be added to the discussion
> To unsubscribe from Parallel computation on CPU faster than GPU!, click
Free forum by Nabble
Edit this page