Fix hipcc warning related to hipVersion (#1767)
* Fix hipcc warning related to hipVersion * Rename hipVersion.h to hip_version.h * Remove HIP_VERSION splitting * Update .gitignore - Ignore generated include/hip/hip_version.h - Removed some stale entries - Added executables from samples/1_Utils/*/ for consistency with bin/ entries.
This commit is contained in:
committed by
Maneesh Gupta
parent
af697eaefe
commit
f3cafd5855
@@ -119,8 +119,6 @@ sub delete_temp_dirs {
|
||||
#HIP_PLATFORM controls whether to use NVCC or HCC for compilation:
|
||||
$HIP_PLATFORM= `$HIP_PATH/bin/hipconfig --platform` // "hcc";
|
||||
$HIP_VERSION= `$HIP_PATH/bin/hipconfig --version`;
|
||||
($HIP_VERSION_MAJOR, $HIP_VERSION_MINOR, $HIP_VERSION_PATCH) = split(/\./, $HIP_VERSION);
|
||||
my ($HIP_VERSION_GITDATE, $HIP_VERSION_GITHASH) = split(/-/, $HIP_VERSION_PATCH);
|
||||
$HIP_COMPILER= $hipConfig{'HIP_COMPILER'};
|
||||
$HIP_RUNTIME= $hipConfig{'HIP_RUNTIME'};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user