cubecl_hip_sys

Function hipTexRefSetMaxAnisotropy

Source
pub unsafe extern "C" fn hipTexRefSetMaxAnisotropy(
    texRef: *mut textureReference,
    maxAniso: c_uint,
) -> hipError_t
Expand description

@brief Sets the maximum anisotropy for a texture reference.

@param [in] texRef Pointer of texture reference. @param [out] maxAniso Value of the maximum anisotropy.

@returns #hipSuccess, #hipErrorInvalidValue, #hipErrorNotSupported

@warning This API is deprecated.