Fix: Export rsmi_init shim with default visibility to be seen by PyTorch

Tento commit je obsažen v:
Donato Capitella
2026-02-01 12:12:28 +00:00
rodič aec38e7dde
revize 532214edfb
+1
Zobrazit soubor
@@ -4,6 +4,7 @@ extern "C" {
// Dummy implementation of rsmi_init to satisfy linker dependencies
// when the real ROCm SMI library is broken or causes Bus Errors (gfx1151).
// Returns 0 (RSMI_STATUS_SUCCESS).
__attribute__((visibility("default")))
int rsmi_init(uint64_t flags) {
return 0;
}