SWDEV-550231 - fix hipGetDriverEntryPoint_common (#651)

Этот коммит содержится в:
Todd tiantuo Li
2025-08-21 18:57:16 -07:00
коммит произвёл GitHub
родитель a77f7d5770
Коммит bbf0d34b48
+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;
}