public class DefaultPlatformChooser extends java.lang.Object implements PlatformChooser
PlatformChooser.
It favors GPU devices with OpenGL sharing, then any devices with OpenGL sharing,
then any possible device.| Constructor and Description |
|---|
DefaultPlatformChooser() |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<? extends Device> |
chooseDevices(java.util.List<? extends Platform> platforms)
Chooses one or more devices for the opencl context.
|
public java.util.List<? extends Device> chooseDevices(java.util.List<? extends Platform> platforms)
PlatformChooserchooseDevices in interface PlatformChooserplatforms - the available platforms