SWDEV-476869 - Add mapping to cudaGetTextureReference
Change-Id: I85a6e4423d7b8b88ed18629225c583b87551414f
[ROCm/hipother commit: ccd569c4bb]
Tá an tiomantas seo le fáil i:
1 tuismitheoir
71a65f5643
tiomantas
d5139b29ef
1 comhad athraithe
+5
@@ -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));
|
||||
|
||||
Tagairt in Eagrán Nua
Cuir bac ar úsáideoir