SWDEV-476869 - build fix for cuda version < 12000
Change-Id: I9086ffc0e5e0c1e9748163c8433c9e78c83d8f72
This commit is contained in:
@@ -3252,7 +3252,7 @@ inline static hipError_t hipGetTextureObjectResourceDesc(hipResourceDesc* pResDe
|
||||
}
|
||||
|
||||
#if CUDA_VERSION < CUDA_12000
|
||||
__HIP_DEPRECATED inline static hipError_t hipGetTextureReference(const textureReference** texref,
|
||||
__HIP_DEPRECATED inline static hipError_t hipGetTextureReference(const struct textureReference** texref,
|
||||
const void* symbol) {
|
||||
return hipCUDAErrorTohipError(cudaGetTextureReference(texref, symbol));
|
||||
}
|
||||
|
||||
مرجع در شماره جدید
Block a user