Package | Description |
---|---|
jcuda.driver |
Contains the classes related to the JCuda driver API.
|
Modifier and Type | Method and Description |
---|---|
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,
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(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.cuDevicePrimaryCtxRelease(CUdevice dev) |
static int |
JCudaDriver.cuDevicePrimaryCtxRetain(CUcontext pctx,
CUdevice dev) |
static int |
JCudaDriver.cuDevicePrimaryCtxSetFlags(CUdevice dev,
int flags) |
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.
|
Copyright © 2015. All rights reserved.