SWDEV-476869 - Add mapping to cudaGetTextureReference

Change-Id: I85a6e4423d7b8b88ed18629225c583b87551414f
Αυτή η υποβολή περιλαμβάνεται σε:
Marko Arandjelovic
2024-07-31 15:21:46 +02:00
γονέας 0e4a9d8882
υποβολή ccd569c4bb
@@ -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));