public abstract class Device extends Object
Modifier and Type | Class and Description |
---|---|
static class |
Device.TYPE |
Constructor and Description |
---|
Device() |
Modifier and Type | Method and Description |
---|---|
static Device |
best()
Deprecated.
|
static Device |
bestACC()
Deprecated.
|
static Device |
bestGPU()
Deprecated.
|
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) |
boolean |
equals(Object o) |
static Device |
first(Device.TYPE _type)
Deprecated.
|
static Device |
firstCPU()
Deprecated.
|
static Device |
firstGPU()
Deprecated.
|
abstract long |
getDeviceId() |
int |
getMaxWorkGroupSize() |
int |
getMaxWorkItemDimensions() |
int[] |
getMaxWorkItemSize() |
abstract String |
getShortDescription() |
Device.TYPE |
getType() |
int |
hashCode() |
void |
setMaxWorkGroupSize(int _maxWorkGroupSize) |
void |
setMaxWorkItemDimensions(int _maxWorkItemDimensions) |
void |
setMaxWorkItemSize(int[] maxWorkItemSize) |
void |
setType(Device.TYPE type) |
@Deprecated public static Device best()
KernelManager.bestDevice()
com.aparapi.device
@Deprecated public static Device bestGPU()
com.aparapi.device
@Deprecated public static Device first(Device.TYPE _type)
com.aparapi.device
@Deprecated public static Device firstGPU()
com.aparapi.device
@Deprecated public static Device firstCPU()
com.aparapi.device
@Deprecated public static Device bestACC()
com.aparapi.device
public abstract String getShortDescription()
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)
public abstract long getDeviceId()
Copyright © 2016 Syncleus. All rights reserved.