SWDEV-550231 - fix hipGetDriverEntryPoint_common (#651)

Tento commit je obsažen v:
Todd tiantuo Li
2025-08-21 18:57:16 -07:00
odevzdal GitHub
rodič a77f7d5770
revize bbf0d34b48
+2 -2
Zobrazit soubor
@@ -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;
}