SWDEV-476869 - Add mapping to cudaGetTextureReference
Change-Id: I85a6e4423d7b8b88ed18629225c583b87551414f
[ROCm/hipother commit: ccd569c4bb]
Ta zmiana jest zawarta w:
%! (template.HTML=
Marko Arandjelovic)złożyło 2024-08-02 12:14:16 +02:00
1 rodzic
71a65f5643
złożenie
d5139b29ef
Plik 1 zmieniony
+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));
|
||||
|
||||
Reference in new issue
Zablokuj użytkownika