public abstract class Device
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
Device.TYPE |
Constructor and Description |
---|
Device() |
Modifier and Type | Method and Description |
---|---|
static Device |
best() |
Range |
createRange(int _globalWidth) |
Range |
createRange(int _globalWidth,
int _localWidth) |
Range |
createRange2D(int _globalWidth,
int _globalHeight) |
Range |
createRange2D(int _globalWidth,
int _globalHeight,
int _localWidth,
int _localHeight) |
Range |
createRange3D(int _globalWidth,
int _globalHeight,
int _globalDepth) |
Range |
createRange3D(int _globalWidth,
int _globalHeight,
int _globalDepth,
int _localWidth,
int _localHeight,
int _localDepth) |
static Device |
first(Device.TYPE _type) |
static Device |
firstCPU() |
static Device |
firstGPU() |
int |
getMaxWorkGroupSize() |
int |
getMaxWorkItemDimensions() |
int[] |
getMaxWorkItemSize() |
Device.TYPE |
getType() |
void |
setMaxWorkGroupSize(int _maxWorkGroupSize) |
void |
setMaxWorkItemDimensions(int _maxWorkItemDimensions) |
void |
setMaxWorkItemSize(int[] maxWorkItemSize) |
void |
setType(Device.TYPE type) |
public static Device best()
public static Device first(Device.TYPE _type)
public static Device firstGPU()
public static Device firstCPU()
public Device.TYPE getType()
public void setType(Device.TYPE type)
public int getMaxWorkItemDimensions()
public void setMaxWorkItemDimensions(int _maxWorkItemDimensions)
public int getMaxWorkGroupSize()
public void setMaxWorkGroupSize(int _maxWorkGroupSize)
public int[] getMaxWorkItemSize()
public void setMaxWorkItemSize(int[] maxWorkItemSize)
public Range createRange(int _globalWidth)
public Range createRange(int _globalWidth, int _localWidth)
public Range createRange2D(int _globalWidth, int _globalHeight)
public Range createRange2D(int _globalWidth, int _globalHeight, int _localWidth, int _localHeight)
public Range createRange3D(int _globalWidth, int _globalHeight, int _globalDepth)
public Range createRange3D(int _globalWidth, int _globalHeight, int _globalDepth, int _localWidth, int _localHeight, int _localDepth)