| Package | Description |
|---|---|
| com.nativelibs4java.opencl |
| Modifier and Type | Method and Description |
|---|---|
static CLPlatform.DeviceFeature |
CLPlatform.DeviceFeature.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CLPlatform.DeviceFeature[] |
CLPlatform.DeviceFeature.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
static CLContext |
JavaCL.createBestContext(CLPlatform.DeviceFeature... preferredFeatures)
Creates an OpenCL context with the "best" device based on the comparison of the provided
prioritized device feature (see
JavaCL.getBestDevice(CLPlatform.DeviceFeature...)) |
static CLDevice |
JavaCL.getBestDevice(CLPlatform.DeviceFeature... preferredFeatures)
Returns the "best" OpenCL device based on the comparison of the provided prioritized device feature.
|
| Modifier and Type | Method and Description |
|---|---|
static CLDevice |
CLPlatform.getBestDevice(List<CLPlatform.DeviceFeature> evals,
Collection<CLDevice> devices) |
| Constructor and Description |
|---|
DeviceComparator(List<CLPlatform.DeviceFeature> evals) |
Copyright © 2009-2015. All Rights Reserved.