|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use CUdevice | |
---|---|
jcuda.driver | Contains the classes related to the JCuda driver API. |
Uses of CUdevice in jcuda.driver |
---|
Methods in jcuda.driver with parameters of type CUdevice | |
---|---|
static int |
JCudaDriver.cuCtxCreate(CUcontext pctx,
int flags,
CUdevice dev)
Create a CUDA context. |
static int |
JCudaDriver.cuCtxGetDevice(CUdevice device)
Returns the device ID for the current context. |
static int |
JCudaDriver.cuDeviceCanAccessPeer(int[] canAccessPeer,
CUdevice dev,
CUdevice peerDev)
Queries if a device may directly access a peer device's memory. |
static int |
JCudaDriver.cuDeviceComputeCapability(int[] major,
int[] minor,
CUdevice dev)
Returns the compute capability of the device. |
static int |
JCudaDriver.cuDeviceGet(CUdevice device,
int ordinal)
Returns a handle to a compute device. |
static int |
JCudaDriver.cuDeviceGetAttribute(int[] pi,
int attrib,
CUdevice dev)
Returns information about the device. |
static int |
JCudaDriver.cuDeviceGetByPCIBusId(CUdevice dev,
java.lang.String pciBusId)
Returns a handle to a compute device. |
static int |
JCudaDriver.cuDeviceGetName(byte[] name,
int len,
CUdevice dev)
Returns an identifer string for the device. |
static int |
JCudaDriver.cuDeviceGetPCIBusId(java.lang.String[] pciBusId,
int len,
CUdevice dev)
Returns a PCI Bus Id string for the device. |
static int |
JCudaDriver.cuDeviceGetProperties(CUdevprop prop,
CUdevice dev)
Returns properties for a selected device. |
static int |
JCudaDriver.cuDeviceTotalMem(long[] bytes,
CUdevice dev)
Returns the total amount of memory on the device. |
static int |
JCudaDriver.cuGLCtxCreate(CUcontext pCtx,
int Flags,
CUdevice device)
Create a CUDA context for interoperability with OpenGL. |
static int |
JCudaDriver.cuGLGetDevices(int[] pCudaDeviceCount,
CUdevice[] pCudaDevices,
int cudaDeviceCount,
int CUGLDeviceList_deviceList)
Gets the CUDA devices associated with the current OpenGL context. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |