From 46d9f76702b440991377dacaa084aa9a700d046c Mon Sep 17 00:00:00 2001 From: agunashe <86270081+agunashe@users.noreply.github.com> Date: Thu, 24 Feb 2022 05:29:18 -0800 Subject: [PATCH] SWDEV-1 - hipcc/hipconfig path detection in bat file (#2488) Change-Id: I075148087bc07b5044a3360f1636d07372b16a1d --- bin/hipcc.bat | 2 +- bin/hipconfig.bat | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/hipcc.bat b/bin/hipcc.bat index a19ce9d80f..7a3c25ba8d 100644 --- a/bin/hipcc.bat +++ b/bin/hipcc.bat @@ -1,2 +1,2 @@ -@IF DEFINED HIP_PATH (set HIPCC="%HIP_PATH%/bin/hipcc") ELSE (set HIPCC="%~dp0/hipcc") +set HIPCC="%~dp0/hipcc" @perl %HIPCC% %* diff --git a/bin/hipconfig.bat b/bin/hipconfig.bat index 9ba2d4205c..47d9500c71 100644 --- a/bin/hipconfig.bat +++ b/bin/hipconfig.bat @@ -1,2 +1,2 @@ -@IF DEFINED HIP_PATH (set HIPCONFIG="%HIP_PATH%/bin/hipconfig") ELSE (set HIPCONFIG="%~dp0/hipconfig") +set HIPCONFIG="%~dp0/hipconfig" @perl %HIPCONFIG% %*