SWDEV-450204 - hipGetProcAddress check for null corrected

Change-Id: Ic34b0d561d3d70f3411a60924a64c3b89954394f


[ROCm/clr commit: 14bcbcc25b]
This commit is contained in:
jiabaxie authored and Jiabao Xie committed 2024-03-13 16:44:08 -04:00
1 parent f77ed12c4d
commit 5af8ba8513
3 files changed
+4 -4

No files matched your search

@@ -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);
}