Package | Description |
---|---|
jcuda.driver |
Contains the classes related to the JCuda driver API.
|
jcuda.runtime |
Contains the classes related to the JCuda runtime API.
|
Modifier and Type | Method and Description |
---|---|
static int |
JCudaDriver.cuGraphicsGLRegisterBuffer(CUgraphicsResource pCudaResource,
int buffer,
int Flags)
Registers an OpenGL buffer object.
|
static int |
JCudaDriver.cuGraphicsGLRegisterImage(CUgraphicsResource pCudaResource,
int image,
int target,
int Flags)
Register an OpenGL texture or renderbuffer object.
|
static int |
JCudaDriver.cuGraphicsMapResources(int count,
CUgraphicsResource[] resources,
CUstream hStream)
Map graphics resources for access by CUDA.
|
static int |
JCudaDriver.cuGraphicsResourceGetMappedMipmappedArray(CUmipmappedArray pMipmappedArray,
CUgraphicsResource resource)
Get a mipmapped array through which to access a mapped graphics resource.
|
static int |
JCudaDriver.cuGraphicsResourceGetMappedPointer(CUdeviceptr pDevPtr,
long[] pSize,
CUgraphicsResource resource)
Get a device pointer through which to access a mapped graphics resource.
|
static int |
JCudaDriver.cuGraphicsResourceSetMapFlags(CUgraphicsResource resource,
int flags)
Set usage flags for mapping a graphics resource.
|
static int |
JCudaDriver.cuGraphicsSubResourceGetMappedArray(CUarray pArray,
CUgraphicsResource resource,
int arrayIndex,
int mipLevel)
Get an array through which to access a subresource of a mapped graphics resource.
|
static int |
JCudaDriver.cuGraphicsUnmapResources(int count,
CUgraphicsResource[] resources,
CUstream hStream)
Unmap graphics resources.
|
static int |
JCudaDriver.cuGraphicsUnregisterResource(CUgraphicsResource resource)
Unregisters a graphics resource for access by CUDA.
|
Constructor and Description |
---|
cudaGraphicsResource(CUgraphicsResource resource)
Creates a cudaGraphicsResource for the given
CUgraphicsResource . |
Copyright © 2020. All rights reserved.