cuModuleGetTexRef: Returns a handle to a texture reference

Description Usage Arguments Value References See Also

Description

Returns the handle of the texture reference of name name in the module hmod. If no texture reference of that name exists, cuModuleGetTexRef() returns CUDA_ERROR_NOT_FOUND. This texture reference handle should not be destroyed, since it will be destroyed when the module is unloaded.

Usage

1

Arguments

hmod

Module to retrieve texture reference from

name

Name of texture reference to retrieve

Value

pTexRef

References

http://docs.nvidia.com/cuda/cuda-driver-api/index.html

See Also

cuModuleGetFunction cuModuleGetGlobal cuModuleGetSurfRef cuModuleLoad cuModuleLoadData cuModuleLoadDataEx cuModuleLoadFatBinary cuModuleUnload


duncantl/RCUDA documentation built on May 15, 2019, 5:26 p.m.