SWDEV-450204 - hipGetProcAddress check for null corrected

Change-Id: Ic34b0d561d3d70f3411a60924a64c3b89954394f
This commit is contained in:
jiabaxie
2024-03-08 16:29:42 -05:00
committed by Jiabao Xie
parent c13864abed
commit 14bcbcc25b
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -1729,7 +1729,7 @@ hipError_t hipTexRefGetArray(hipArray_t* pArray, const textureReference* texRef)
}
extern "C" hipError_t hipGetProcAddress(const char* symbol, void** pfn, int hipVersion,
uint64_t flags,
hipDriverProcAddressQueryResult* symbolStatus = nullptr) {
hipDriverProcAddressQueryResult* symbolStatus) {
return hip::GetHipDispatchTable()->hipGetProcAddress_fn(symbol, pfn, hipVersion, flags,
symbolStatus);
}