|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use cudaGraphicsResource | |
---|---|
jcuda.runtime | Contains the classes related to the JCuda runtime API. |
Uses of cudaGraphicsResource in jcuda.runtime |
---|
Methods in jcuda.runtime with parameters of type cudaGraphicsResource | |
---|---|
static int |
JCuda.cudaGraphicsGLRegisterBuffer(cudaGraphicsResource resource,
int buffer,
int Flags)
Registers the buffer object specified by buffer for access by CUDA. |
static int |
JCuda.cudaGraphicsGLRegisterImage(cudaGraphicsResource resource,
int image,
int target,
int Flags)
Registers the texture or renderbuffer object specified by image for access by CUDA. target must match the type of the object. |
static int |
JCuda.cudaGraphicsMapResources(int count,
cudaGraphicsResource[] resources,
cudaStream_t stream)
Maps the count graphics resources in resources for access by CUDA. |
static int |
JCuda.cudaGraphicsResourceGetMappedPointer(Pointer devPtr,
long[] size,
cudaGraphicsResource resource)
Returns in *devPtr a pointer through which the mapped graphics resource resource may be accessed. |
static int |
JCuda.cudaGraphicsResourceSetMapFlags(cudaGraphicsResource resource,
int flags)
Set flags for mapping the graphics resource resource. |
static int |
JCuda.cudaGraphicsSubResourceGetMappedArray(cudaArray arrayPtr,
cudaGraphicsResource resource,
int arrayIndex,
int mipLevel)
Returns in *array an array through which the subresource of the mapped graphics resource resource which corresponds to array index arrayIndex and mipmap level mipLevel may be accessed. |
static int |
JCuda.cudaGraphicsUnmapResources(int count,
cudaGraphicsResource[] resources,
cudaStream_t stream)
Unmaps the count graphics resources in resources. |
static int |
JCuda.cudaGraphicsUnregisterResource(cudaGraphicsResource resource)
Unregisters the graphics resource resource so it is not accessible by CUDA unless registered again. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |