Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ def testSharedLibrariesLoad(self):
extra_setup = ""
if (
"hipdnn_plugins" in str(so_path) or "test_plugins" in str(so_path)
) and sys.platform == "win32":
) and platform.system() == "Windows":
# hipdnn plugins have dependencies on other libraries (e.g. miopen).
# In a real-world scenario, hipdnn_backend loads these plugins, and
# the dependencies are found because they reside in the same directory
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
import importlib
import os
from pathlib import Path
import platform
import subprocess
import sys
import sysconfig
Expand Down Expand Up @@ -63,7 +64,9 @@ def testSharedLibrariesLoad(self):
continue

extra_setup = ""
if "hipdnn_plugins" in str(so_path) and sys.platform == "win32":
if (
"hipdnn_plugins" in str(so_path) or "test_plugins" in str(so_path)
) and platform.system() == "Windows":
# hipdnn plugins have dependencies on other libraries (e.g. miopen).
# In a real-world scenario, hipdnn_backend loads these plugins, and
# the dependencies are found because they reside in the same directory
Expand Down
Loading