cuda.bindings._v2.driver.tex_object_get_resource_view_desc#

cuda.bindings._v2.driver.tex_object_get_resource_view_desc(uint64_t tex_object)#

Returns a texture object’s resource view descriptor.

Returns the resource view descriptor for the texture object specified by tex_object. If no resource view was set for tex_object, the CUDA_ERROR_INVALID_VALUE is returned.

Parameters:

tex_object (uint64_t) – Texture object.

Returns:

Resource view descriptor.

Return type:

CUDA_RESOURCE_VIEW_DESC_v1

See also

cuTexObjectGetResourceViewDesc