diff --git a/projects/hipother/hipnv/include/hip/nvidia_detail/nvidia_hip_runtime_api.h b/projects/hipother/hipnv/include/hip/nvidia_detail/nvidia_hip_runtime_api.h index cafe4e41f9..d923d98d83 100644 --- a/projects/hipother/hipnv/include/hip/nvidia_detail/nvidia_hip_runtime_api.h +++ b/projects/hipother/hipnv/include/hip/nvidia_detail/nvidia_hip_runtime_api.h @@ -3259,6 +3259,11 @@ inline static hipError_t hipGetTextureObjectResourceDesc(hipResourceDesc* pResDe } #if CUDA_VERSION < CUDA_12000 +__HIP_DEPRECATED inline static hipError_t hipGetTextureReference(const textureReference** texref, + const void* symbol) { + return hipCUDAErrorTohipError(cudaGetTextureReference(texref, symbol)); +} + __HIP_DEPRECATED inline static hipError_t hipGetTextureAlignmentOffset( size_t* offset, const struct textureReference* texref) { return hipCUDAErrorTohipError(cudaGetTextureAlignmentOffset(offset,texref));