SWDEV-477711 - Map hipTexRefGetFormat to cuTexRefGetFormat

Change-Id: I21297fab6b5e420f2de5f24f9d1c7545e3e6af09


[ROCm/hipother commit: f9d31c596e]
Dieser Commit ist enthalten in:
Marko Arandjelovic
2024-08-07 17:43:28 +02:00
committet von Marko Arandjelovic
Ursprung e7356c1f4f
Commit b352497357
@@ -3616,6 +3616,10 @@ inline static hipError_t hipTexRefSetAddress2D(hipTexRef hTexRef, const CUDA_ARR
return hipCUResultTohipError(cuTexRefSetAddress2D(hTexRef,desc,dptr,Pitch));
}
__HIP_DEPRECATED inline static hipError_t hipTexRefGetFormat(hipArray_Format *fmt, int *NumPackedComponents, hipTexRef hTexRef){
return hipCUResultTohipError(cuTexRefGetFormat(fmt, NumPackedComponents, hTexRef));
}
__HIP_DEPRECATED inline static hipError_t hipTexRefSetFormat(hipTexRef hTexRef, hipArray_Format fmt, int NumPackedComponents){
return hipCUResultTohipError(cuTexRefSetFormat(hTexRef,fmt,NumPackedComponents));
}