diff '--color=auto' -Naur Tensile-rocm-6.4.1/Tensile/cmake/TensileConfig.cmake Tensile-rocm-6.4.1.new/Tensile/cmake/TensileConfig.cmake --- Tensile-rocm-6.4.1/Tensile/cmake/TensileConfig.cmake 2025-01-30 21:07:56.000000000 +0100 +++ Tensile-rocm-6.4.1.new/Tensile/cmake/TensileConfig.cmake 2025-06-24 19:08:45.894033408 +0200 @@ -43,9 +43,9 @@ get_filename_component(Tensile_PREFIX "${Tensile_PREFIX}" PATH) if (WIN32) - execute_process(COMMAND "${Tensile_PREFIX}/bin/TensileGetPath.exe" OUTPUT_VARIABLE Tensile_ROOT) + execute_process(COMMAND "TensileGetPath.exe" OUTPUT_VARIABLE Tensile_ROOT) else() - execute_process(COMMAND "${Tensile_PREFIX}/bin/TensileGetPath" OUTPUT_VARIABLE Tensile_ROOT) + execute_process(COMMAND "TensileGetPath" OUTPUT_VARIABLE Tensile_ROOT) endif() endif() list(APPEND CMAKE_MODULE_PATH "${Tensile_ROOT}/Source/cmake/") diff '--color=auto' -Naur Tensile-rocm-6.4.1/Tensile/Common.py Tensile-rocm-6.4.1.new/Tensile/Common.py --- Tensile-rocm-6.4.1/Tensile/Common.py 2025-01-30 21:07:56.000000000 +0100 +++ Tensile-rocm-6.4.1.new/Tensile/Common.py 2025-06-24 19:08:45.900196017 +0200 @@ -265,9 +265,9 @@ # internal, i.e., gets set during startup globalParameters["CurrentISA"] = (0,0,0) -globalParameters["ROCmAgentEnumeratorPath"] = None # /opt/rocm/bin/rocm_agent_enumerator -globalParameters["ROCmSMIPath"] = None # /opt/rocm/bin/rocm-smi -globalParameters["AssemblerPath"] = None # /opt/rocm/llvm/bin/clang++ +globalParameters["ROCmAgentEnumeratorPath"] = None # /usr/bin/rocm_agent_enumerator +globalParameters["ROCmSMIPath"] = None # /usr/bin/rocm-smi +globalParameters["AssemblerPath"] = None # /usr/llvm/bin/clang++ globalParameters["WorkingPath"] = os.getcwd() # path where tensile called from globalParameters["IndexChars"] = "IJKLMNOPQRSTUVWXYZ" # which characters to use for C[ij]=Sum[k] A[ik]*B[jk] globalParameters["ScriptPath"] = os.path.dirname(os.path.realpath(__file__)) # path to Tensile/Tensile.py @@ -2015,7 +2015,7 @@ ################################################################################ def isExe( filePath ): return os.path.isfile(filePath) and os.access(filePath, os.X_OK) -def locateExe( defaultPath, exeName ): # /opt/rocm/bin, hip-clang +def locateExe( defaultPath, exeName ): # /usr/bin, hip-clang # look in defaultPath first exePath = os.path.join(defaultPath, exeName) if isExe(exePath): @@ -2398,7 +2398,7 @@ if "KeepBuildTmp" in config: globalParameters["KeepBuildTmp"] = config["KeepBuildTmp"] - globalParameters["ROCmPath"] = "/opt/rocm" + globalParameters["ROCmPath"] = "/usr" if "ROCM_PATH" in os.environ: globalParameters["ROCmPath"] = os.environ.get("ROCM_PATH") if "TENSILE_ROCM_PATH" in os.environ: diff '--color=auto' -Naur Tensile-rocm-6.4.1/Tensile/Tests/yaml_only/test_config.py Tensile-rocm-6.4.1.new/Tensile/Tests/yaml_only/test_config.py --- Tensile-rocm-6.4.1/Tensile/Tests/yaml_only/test_config.py 2025-01-30 21:07:56.000000000 +0100 +++ Tensile-rocm-6.4.1.new/Tensile/Tests/yaml_only/test_config.py 2025-06-24 19:08:45.896519638 +0200 @@ -39,7 +39,7 @@ def isExe( filePath ): return os.path.isfile(filePath) and os.access(filePath, os.X_OK) -def locateExe( defaultPath, exeName ): # /opt/rocm/bin, hip-clang +def locateExe( defaultPath, exeName ): # /usr/bin, hip-clang # look in path first for path in os.environ["PATH"].split(os.pathsep): exePath = os.path.join(path, exeName) @@ -159,7 +159,7 @@ def findAvailableArchs(): availableArchs = [] - rocmpath = "/opt/rocm" + rocmpath = "/usr" if "ROCM_PATH" in os.environ: rocmpath = os.environ.get("ROCM_PATH") if "TENSILE_ROCM_PATH" in os.environ: