SWDEV-550231 - fix hipGetDriverEntryPoint_common (#651)
This commit is contained in:
1 parent
a77f7d5770
commit
bbf0d34b48
1 file changed
+2
-2
@@ -737,11 +737,11 @@ hipError_t hipGetDriverEntryPoint_common(const char* symbol, void** funcPtr,
|
||||
}
|
||||
|
||||
*funcPtr = amd::Os::getSymbol(handle, symbolString.c_str());
|
||||
if (funcPtr == nullptr) {
|
||||
if (*funcPtr == nullptr) {
|
||||
if (flags == hipEnablePerThreadDefaultStream) {
|
||||
*funcPtr = amd::Os::getSymbol(handle, symbol);
|
||||
}
|
||||
if (funcPtr == nullptr) {
|
||||
if (*funcPtr == nullptr) {
|
||||
if (status != nullptr) {
|
||||
*status = hipDriverEntryPointSymbolNotFound;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user