SWDEV-452914 - Add hipGetFuncBySymbol for NV
Change-Id: I85dba9de6f083a6532f908fa3ceab4305c3bbf30
[ROCm/hipother commit: 14a658824a]
This commit is contained in:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user