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% %*