static int |
cudart.cuGraphicsMapResources(int count,
CUgraphicsResource_st resources,
CUstream_st hStream) |
\brief Map graphics resources for access by CUDA
Maps the \p count graphics resources in \p resources for access by CUDA.
|
static int |
cudart.cuGraphicsResourceGetMappedMipmappedArray(CUmipmappedArray_st pMipmappedArray,
CUgraphicsResource_st resource) |
\brief Get a mipmapped array through which to access a mapped graphics resource.
|
static int |
cudart.cuGraphicsResourceGetMappedPointer(long[] pDevPtr,
SizeTPointer pSize,
CUgraphicsResource_st resource) |
|
static int |
cudart.cuGraphicsResourceGetMappedPointer(LongBuffer pDevPtr,
SizeTPointer pSize,
CUgraphicsResource_st resource) |
|
static int |
cudart.cuGraphicsResourceGetMappedPointer(LongPointer pDevPtr,
SizeTPointer pSize,
CUgraphicsResource_st resource) |
\brief Get a device pointer through which to access a mapped graphics resource.
|
static int |
cudart.cuGraphicsResourceSetMapFlags(CUgraphicsResource_st resource,
int flags) |
\brief Set usage flags for mapping a graphics resource
Set \p flags for mapping the graphics resource \p resource.
|
static int |
cudart.cuGraphicsSubResourceGetMappedArray(CUarray_st pArray,
CUgraphicsResource_st resource,
int arrayIndex,
int mipLevel) |
\brief Get an array through which to access a subresource of a mapped graphics resource.
|
static int |
cudart.cuGraphicsUnmapResources(int count,
CUgraphicsResource_st resources,
CUstream_st hStream) |
\brief Unmap graphics resources.
|
static int |
cudart.cuGraphicsUnregisterResource(CUgraphicsResource_st resource) |
\brief Unregisters a graphics resource for access by CUDA
Unregisters the graphics resource \p resource so it is not accessible by
CUDA unless registered again.
|