SWDEV-452914 - Add hipGetFuncBySymbol for NV

Change-Id: I85dba9de6f083a6532f908fa3ceab4305c3bbf30
This commit is contained in:
Satyanvesh Dittakavi committed 2024-03-26 14:44:50 +05:30
1 parent bc83af68dd
commit 14a658824a
1 file changed
+6
@@ -3211,6 +3211,12 @@ __HIP_DEPRECATED inline static hipError_t hipGetTextureAlignmentOffset(
}
#endif
#if CUDA_VERSION >= CUDA_11010
inline static hipError_t hipGetFuncBySymbol(hipFunction_t* functionPtr, const void* symbolPtr) {
return hipCUDAErrorTohipError(cudaGetFuncBySymbol(functionPtr, symbolPtr));
}
#endif
inline static hipError_t hipGetChannelDesc(hipChannelFormatDesc* desc, hipArray_const_t array)
{
return hipCUDAErrorTohipError(cudaGetChannelDesc(desc,array));