public class OpenCLDevice extends Device
Modifier and Type | Class and Description |
---|---|
static interface |
OpenCLDevice.DeviceComparitor |
static interface |
OpenCLDevice.DeviceSelector |
static class |
OpenCLDevice.OpenCLInvocationHandler<T extends OpenCL<T>> |
Device.TYPE
Constructor and Description |
---|
OpenCLDevice(OpenCLPlatform _platform,
long _deviceId,
Device.TYPE _type)
Minimal constructor
|
best, bestACC, bestGPU, createRange, createRange, createRange2D, createRange2D, createRange3D, createRange3D, equals, first, firstCPU, firstGPU, getMaxWorkGroupSize, getMaxWorkItemDimensions, getMaxWorkItemSize, getType, hashCode, setMaxWorkGroupSize, setMaxWorkItemDimensions, setMaxWorkItemSize, setType
public OpenCLDevice(OpenCLPlatform _platform, long _deviceId, Device.TYPE _type)
_platform
- _deviceId
- _type
- public OpenCLPlatform getOpenCLPlatform()
public int getMaxComputeUnits()
public void setMaxComputeUnits(int _maxComputeUnits)
public long getLocalMemSize()
public void setLocalMemSize(long _localMemSize)
public long getMaxMemAllocSize()
public void setMaxMemAllocSize(long _maxMemAllocSize)
public long getGlobalMemSize()
public void setGlobalMemSize(long _globalMemSize)
public String getName()
public void setName(String name)
public long getDeviceId()
getDeviceId
in class Device
public String getShortDescription()
getShortDescription
in class Device
public List<OpenCLArgDescriptor> getArgs(Method m)
public <T extends OpenCL<T>> T bind(Class<T> _interface, InputStream _inputStream)
public static List<OpenCLDevice> listDevices(Device.TYPE type)
public static OpenCLDevice select(OpenCLDevice.DeviceSelector _deviceSelector)
public static OpenCLDevice select(OpenCLDevice.DeviceComparitor _deviceComparitor)
public static OpenCLDevice select(OpenCLDevice.DeviceComparitor _deviceComparitor, Device.TYPE _type)
Copyright © 2016 Syncleus. All rights reserved.