public class DeviceInfo extends Object
| Modifier and Type | Field and Description |
|---|---|
protected long |
nativeObj |
| Modifier | Constructor and Description |
|---|---|
|
DeviceInfo() |
|
DeviceInfo(int device_id) |
protected |
DeviceInfo(long addr) |
| Modifier and Type | Method and Description |
|---|---|
int |
deviceID() |
protected void |
finalize() |
long |
freeMemory() |
boolean |
isCompatible() |
int |
majorVersion() |
int |
minorVersion() |
int |
multiProcessorCount() |
String |
name() |
void |
queryMemory(long totalMemory,
long freeMemory) |
long |
sharedMemPerBlock() |
boolean |
supports(int feature_set) |
long |
totalMemory() |
protected DeviceInfo(long addr)
public DeviceInfo()
public DeviceInfo(int device_id)
public int deviceID()
public long freeMemory()
public boolean isCompatible()
public int majorVersion()
public int minorVersion()
public int multiProcessorCount()
public String name()
public void queryMemory(long totalMemory,
long freeMemory)
public long sharedMemPerBlock()
public boolean supports(int feature_set)
public long totalMemory()
Copyright © 2014. All rights reserved.