diff --git a/Applications/bitonic_sort/bitonic_sort_vs2017.vcxproj b/Applications/bitonic_sort/bitonic_sort_vs2017.vcxproj index 6c7f54ab6..599d0ea46 100644 --- a/Applications/bitonic_sort/bitonic_sort_vs2017.vcxproj +++ b/Applications/bitonic_sort/bitonic_sort_vs2017.vcxproj @@ -17,6 +17,12 @@ bitonic_sort_vs2017 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -28,13 +34,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -56,6 +62,9 @@ + + true + true @@ -70,7 +79,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -83,7 +92,7 @@ true - + Level2 __CUDACC__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -96,7 +105,7 @@ true - + Level2 true @@ -111,7 +120,7 @@ true - + Level2 true diff --git a/Applications/bitonic_sort/bitonic_sort_vs2019.vcxproj b/Applications/bitonic_sort/bitonic_sort_vs2019.vcxproj index 6883e26f1..4494bee45 100644 --- a/Applications/bitonic_sort/bitonic_sort_vs2019.vcxproj +++ b/Applications/bitonic_sort/bitonic_sort_vs2019.vcxproj @@ -17,6 +17,12 @@ bitonic_sort_vs2019 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -28,13 +34,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -56,6 +62,9 @@ + + true + true @@ -70,7 +79,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -83,7 +92,7 @@ true - + Level2 __CUDACC__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -96,7 +105,7 @@ true - + Level2 true @@ -111,7 +120,7 @@ true - + Level2 true diff --git a/Applications/bitonic_sort/bitonic_sort_vs2022.vcxproj b/Applications/bitonic_sort/bitonic_sort_vs2022.vcxproj index f4ff18674..e71037b35 100644 --- a/Applications/bitonic_sort/bitonic_sort_vs2022.vcxproj +++ b/Applications/bitonic_sort/bitonic_sort_vs2022.vcxproj @@ -17,6 +17,12 @@ bitonic_sort_vs2022 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -28,13 +34,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -56,6 +62,9 @@ + + true + true @@ -70,7 +79,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -83,7 +92,7 @@ true - + Level2 __CUDACC__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -96,7 +105,7 @@ true - + Level2 true @@ -111,7 +120,7 @@ true - + Level2 true diff --git a/Applications/convolution/convolution_vs2017.vcxproj b/Applications/convolution/convolution_vs2017.vcxproj index 6887f96a8..62875125f 100644 --- a/Applications/convolution/convolution_vs2017.vcxproj +++ b/Applications/convolution/convolution_vs2017.vcxproj @@ -17,6 +17,12 @@ convolution_vs2017 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -28,13 +34,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -56,6 +62,9 @@ + + true + true @@ -70,7 +79,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -83,7 +92,7 @@ true - + Level2 __CUDACC__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -96,7 +105,7 @@ true - + Level2 true @@ -111,7 +120,7 @@ true - + Level2 true diff --git a/Applications/convolution/convolution_vs2019.vcxproj b/Applications/convolution/convolution_vs2019.vcxproj index c050b05eb..88475fd39 100644 --- a/Applications/convolution/convolution_vs2019.vcxproj +++ b/Applications/convolution/convolution_vs2019.vcxproj @@ -17,6 +17,12 @@ convolution_vs2019 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -28,13 +34,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -56,6 +62,9 @@ + + true + true @@ -70,7 +79,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -83,7 +92,7 @@ true - + Level2 __CUDACC__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -96,7 +105,7 @@ true - + Level2 true @@ -111,7 +120,7 @@ true - + Level2 true diff --git a/Applications/convolution/convolution_vs2022.vcxproj b/Applications/convolution/convolution_vs2022.vcxproj index 138b2916f..1fa03c374 100644 --- a/Applications/convolution/convolution_vs2022.vcxproj +++ b/Applications/convolution/convolution_vs2022.vcxproj @@ -17,6 +17,12 @@ convolution_vs2022 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -28,13 +34,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -56,6 +62,9 @@ + + true + true @@ -70,7 +79,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -83,7 +92,7 @@ true - + Level2 __CUDACC__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -96,7 +105,7 @@ true - + Level2 true @@ -111,7 +120,7 @@ true - + Level2 true diff --git a/Applications/floyd_warshall/floyd_warshall_vs2017.vcxproj b/Applications/floyd_warshall/floyd_warshall_vs2017.vcxproj index cf921aae8..844d4c178 100644 --- a/Applications/floyd_warshall/floyd_warshall_vs2017.vcxproj +++ b/Applications/floyd_warshall/floyd_warshall_vs2017.vcxproj @@ -17,6 +17,12 @@ floyd_warshall_vs2017 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -28,13 +34,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -56,6 +62,9 @@ + + true + true @@ -70,7 +79,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -83,7 +92,7 @@ true - + Level2 __CUDACC__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -96,7 +105,7 @@ true - + Level2 true @@ -111,7 +120,7 @@ true - + Level2 true diff --git a/Applications/floyd_warshall/floyd_warshall_vs2019.vcxproj b/Applications/floyd_warshall/floyd_warshall_vs2019.vcxproj index c011a5c99..33cf8e185 100644 --- a/Applications/floyd_warshall/floyd_warshall_vs2019.vcxproj +++ b/Applications/floyd_warshall/floyd_warshall_vs2019.vcxproj @@ -17,6 +17,12 @@ floyd_warshall_vs2019 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -28,13 +34,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -56,6 +62,9 @@ + + true + true @@ -70,7 +79,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -83,7 +92,7 @@ true - + Level2 __CUDACC__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -96,7 +105,7 @@ true - + Level2 true @@ -111,7 +120,7 @@ true - + Level2 true diff --git a/Applications/floyd_warshall/floyd_warshall_vs2022.vcxproj b/Applications/floyd_warshall/floyd_warshall_vs2022.vcxproj index a3d409c4e..503799b78 100644 --- a/Applications/floyd_warshall/floyd_warshall_vs2022.vcxproj +++ b/Applications/floyd_warshall/floyd_warshall_vs2022.vcxproj @@ -17,6 +17,12 @@ floyd_warshall_vs2022 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -28,13 +34,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -56,6 +62,9 @@ + + true + true @@ -70,7 +79,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -83,7 +92,7 @@ true - + Level2 __CUDACC__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -96,7 +105,7 @@ true - + Level2 true @@ -111,7 +120,7 @@ true - + Level2 true diff --git a/Applications/histogram/histogram_vs2017.vcxproj b/Applications/histogram/histogram_vs2017.vcxproj index 31849fb2e..12aa374d6 100644 --- a/Applications/histogram/histogram_vs2017.vcxproj +++ b/Applications/histogram/histogram_vs2017.vcxproj @@ -17,6 +17,12 @@ histogram_vs2017 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -28,13 +34,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -56,6 +62,9 @@ + + true + true @@ -70,7 +79,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -83,7 +92,7 @@ true - + Level2 __CUDACC__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -96,7 +105,7 @@ true - + Level2 true @@ -111,7 +120,7 @@ true - + Level2 true diff --git a/Applications/histogram/histogram_vs2019.vcxproj b/Applications/histogram/histogram_vs2019.vcxproj index 504b5e944..a43d73c03 100644 --- a/Applications/histogram/histogram_vs2019.vcxproj +++ b/Applications/histogram/histogram_vs2019.vcxproj @@ -17,6 +17,12 @@ histogram_vs2019 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -28,13 +34,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -56,6 +62,9 @@ + + true + true @@ -70,7 +79,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -83,7 +92,7 @@ true - + Level2 __CUDACC__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -96,7 +105,7 @@ true - + Level2 true @@ -111,7 +120,7 @@ true - + Level2 true diff --git a/Applications/histogram/histogram_vs2022.vcxproj b/Applications/histogram/histogram_vs2022.vcxproj index 54fa91098..36c657135 100644 --- a/Applications/histogram/histogram_vs2022.vcxproj +++ b/Applications/histogram/histogram_vs2022.vcxproj @@ -17,6 +17,12 @@ histogram_vs2022 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -28,13 +34,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -56,6 +62,9 @@ + + true + true @@ -70,7 +79,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -83,7 +92,7 @@ true - + Level2 __CUDACC__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -96,7 +105,7 @@ true - + Level2 true @@ -111,7 +120,7 @@ true - + Level2 true diff --git a/Applications/monte_carlo_pi/monte_carlo_pi_vs2017.vcxproj b/Applications/monte_carlo_pi/monte_carlo_pi_vs2017.vcxproj index 43a3bfd19..ee9f6bcdf 100644 --- a/Applications/monte_carlo_pi/monte_carlo_pi_vs2017.vcxproj +++ b/Applications/monte_carlo_pi/monte_carlo_pi_vs2017.vcxproj @@ -17,6 +17,12 @@ monte_carlo_pi_vs2017 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -24,7 +30,7 @@ - + PreserveNewest @@ -36,13 +42,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -64,7 +70,10 @@ - + + true + + true @@ -81,7 +90,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -95,7 +104,7 @@ hiprand.lib;rocrand.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/Applications/monte_carlo_pi/monte_carlo_pi_vs2019.vcxproj b/Applications/monte_carlo_pi/monte_carlo_pi_vs2019.vcxproj index 7164e7fb8..2f8813aaf 100644 --- a/Applications/monte_carlo_pi/monte_carlo_pi_vs2019.vcxproj +++ b/Applications/monte_carlo_pi/monte_carlo_pi_vs2019.vcxproj @@ -17,6 +17,12 @@ monte_carlo_pi_vs2019 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -24,7 +30,7 @@ - + PreserveNewest @@ -36,13 +42,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -64,7 +70,10 @@ - + + true + + true @@ -81,7 +90,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -95,7 +104,7 @@ hiprand.lib;rocrand.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/Applications/monte_carlo_pi/monte_carlo_pi_vs2022.vcxproj b/Applications/monte_carlo_pi/monte_carlo_pi_vs2022.vcxproj index fe52cf547..329d12786 100644 --- a/Applications/monte_carlo_pi/monte_carlo_pi_vs2022.vcxproj +++ b/Applications/monte_carlo_pi/monte_carlo_pi_vs2022.vcxproj @@ -17,6 +17,12 @@ monte_carlo_pi_vs2022 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -24,7 +30,7 @@ - + PreserveNewest @@ -36,13 +42,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -64,7 +70,10 @@ - + + true + + true @@ -81,7 +90,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -95,7 +104,7 @@ hiprand.lib;rocrand.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/Applications/prefix_sum/prefix_sum_vs2017.vcxproj b/Applications/prefix_sum/prefix_sum_vs2017.vcxproj index f6d3ebc30..6936290a1 100644 --- a/Applications/prefix_sum/prefix_sum_vs2017.vcxproj +++ b/Applications/prefix_sum/prefix_sum_vs2017.vcxproj @@ -17,6 +17,12 @@ prefix_sum_vs2017 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -28,13 +34,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -56,6 +62,9 @@ + + true + true @@ -70,7 +79,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -83,7 +92,7 @@ true - + Level2 __CUDACC__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -96,7 +105,7 @@ true - + Level2 true @@ -111,7 +120,7 @@ true - + Level2 true diff --git a/Applications/prefix_sum/prefix_sum_vs2019.vcxproj b/Applications/prefix_sum/prefix_sum_vs2019.vcxproj index 08e28d7b1..7610f341d 100644 --- a/Applications/prefix_sum/prefix_sum_vs2019.vcxproj +++ b/Applications/prefix_sum/prefix_sum_vs2019.vcxproj @@ -17,6 +17,12 @@ prefix_sum_vs2019 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -28,13 +34,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -56,6 +62,9 @@ + + true + true @@ -70,7 +79,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -83,7 +92,7 @@ true - + Level2 __CUDACC__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -96,7 +105,7 @@ true - + Level2 true @@ -111,7 +120,7 @@ true - + Level2 true diff --git a/Applications/prefix_sum/prefix_sum_vs2022.vcxproj b/Applications/prefix_sum/prefix_sum_vs2022.vcxproj index 8403fad74..bee99da45 100644 --- a/Applications/prefix_sum/prefix_sum_vs2022.vcxproj +++ b/Applications/prefix_sum/prefix_sum_vs2022.vcxproj @@ -17,6 +17,12 @@ prefix_sum_vs2022 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -28,13 +34,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -56,6 +62,9 @@ + + true + true @@ -70,7 +79,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -83,7 +92,7 @@ true - + Level2 __CUDACC__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -96,7 +105,7 @@ true - + Level2 true @@ -111,7 +120,7 @@ true - + Level2 true diff --git a/HIP-Basic/assembly_to_executable/assembly_to_executable_vs2017.vcxproj b/HIP-Basic/assembly_to_executable/assembly_to_executable_vs2017.vcxproj index ca126e1ea..01e154d7f 100644 --- a/HIP-Basic/assembly_to_executable/assembly_to_executable_vs2017.vcxproj +++ b/HIP-Basic/assembly_to_executable/assembly_to_executable_vs2017.vcxproj @@ -17,6 +17,12 @@ assembly_to_executable_vs2017 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + --cuda-host-only @@ -86,13 +92,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -114,7 +120,10 @@ - + + true + + true @@ -133,7 +142,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -165,7 +174,7 @@ cd $(IntDir) && "$(ClangToolPath)llvm-mc" -triple host-x86_64-pc-windows $(IntDir)main_gfx900.o;$(IntDir)main_gfx906.o;$(IntDir)main_gfx908.o;$(IntDir)main_gfx90a.o;$(IntDir)main_gfx942.o;$(IntDir)main_gfx1030.o;$(IntDir)main_gfx1100.o;$(IntDir)main_gfx1101.o;$(IntDir)main_gfx1102.o;$(IntDir)hip_objgen_win.mcin;%(Inputs) - + Level2 true diff --git a/HIP-Basic/assembly_to_executable/assembly_to_executable_vs2019.vcxproj b/HIP-Basic/assembly_to_executable/assembly_to_executable_vs2019.vcxproj index f5fdbea5d..60a78792e 100644 --- a/HIP-Basic/assembly_to_executable/assembly_to_executable_vs2019.vcxproj +++ b/HIP-Basic/assembly_to_executable/assembly_to_executable_vs2019.vcxproj @@ -17,6 +17,12 @@ assembly_to_executable_vs2019 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + --cuda-host-only @@ -86,13 +92,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -114,7 +120,10 @@ - + + true + + true @@ -133,7 +142,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -165,7 +174,7 @@ cd $(IntDir) && "$(ClangToolPath)llvm-mc" -triple host-x86_64-pc-windows $(IntDir)main_gfx900.o;$(IntDir)main_gfx906.o;$(IntDir)main_gfx908.o;$(IntDir)main_gfx90a.o;$(IntDir)main_gfx942.o;$(IntDir)main_gfx1030.o;$(IntDir)main_gfx1100.o;$(IntDir)main_gfx1101.o;$(IntDir)main_gfx1102.o;$(IntDir)hip_objgen_win.mcin;%(Inputs) - + Level2 true diff --git a/HIP-Basic/assembly_to_executable/assembly_to_executable_vs2022.vcxproj b/HIP-Basic/assembly_to_executable/assembly_to_executable_vs2022.vcxproj index 34fc5f75f..066a48617 100644 --- a/HIP-Basic/assembly_to_executable/assembly_to_executable_vs2022.vcxproj +++ b/HIP-Basic/assembly_to_executable/assembly_to_executable_vs2022.vcxproj @@ -17,6 +17,12 @@ assembly_to_executable_vs2022 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + --cuda-host-only @@ -86,13 +92,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -114,7 +120,10 @@ - + + true + + true @@ -133,7 +142,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -165,7 +174,7 @@ cd $(IntDir) && "$(ClangToolPath)llvm-mc" -triple host-x86_64-pc-windows $(IntDir)main_gfx900.o;$(IntDir)main_gfx906.o;$(IntDir)main_gfx908.o;$(IntDir)main_gfx90a.o;$(IntDir)main_gfx942.o;$(IntDir)main_gfx1030.o;$(IntDir)main_gfx1100.o;$(IntDir)main_gfx1101.o;$(IntDir)main_gfx1102.o;$(IntDir)hip_objgen_win.mcin;%(Inputs) - + Level2 true diff --git a/HIP-Basic/bandwidth/bandwidth_vs2017.vcxproj b/HIP-Basic/bandwidth/bandwidth_vs2017.vcxproj index d6367cd52..e796be14e 100644 --- a/HIP-Basic/bandwidth/bandwidth_vs2017.vcxproj +++ b/HIP-Basic/bandwidth/bandwidth_vs2017.vcxproj @@ -17,6 +17,12 @@ bandwidth_vs2017 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -28,13 +34,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -56,6 +62,9 @@ + + true + true @@ -70,7 +79,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -83,7 +92,7 @@ true - + Level2 __CUDACC__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -96,7 +105,7 @@ true - + Level2 true @@ -111,7 +120,7 @@ true - + Level2 true diff --git a/HIP-Basic/bandwidth/bandwidth_vs2019.vcxproj b/HIP-Basic/bandwidth/bandwidth_vs2019.vcxproj index 646332f46..ca66419f1 100644 --- a/HIP-Basic/bandwidth/bandwidth_vs2019.vcxproj +++ b/HIP-Basic/bandwidth/bandwidth_vs2019.vcxproj @@ -17,6 +17,12 @@ bandwidth_vs2019 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -28,13 +34,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -56,6 +62,9 @@ + + true + true @@ -70,7 +79,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -83,7 +92,7 @@ true - + Level2 __CUDACC__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -96,7 +105,7 @@ true - + Level2 true @@ -111,7 +120,7 @@ true - + Level2 true diff --git a/HIP-Basic/bandwidth/bandwidth_vs2022.vcxproj b/HIP-Basic/bandwidth/bandwidth_vs2022.vcxproj index e36ce5ec3..f154cc77e 100644 --- a/HIP-Basic/bandwidth/bandwidth_vs2022.vcxproj +++ b/HIP-Basic/bandwidth/bandwidth_vs2022.vcxproj @@ -17,6 +17,12 @@ bandwidth_vs2022 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -28,13 +34,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -56,6 +62,9 @@ + + true + true @@ -70,7 +79,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -83,7 +92,7 @@ true - + Level2 __CUDACC__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -96,7 +105,7 @@ true - + Level2 true @@ -111,7 +120,7 @@ true - + Level2 true diff --git a/HIP-Basic/bit_extract/bit_extract_vs2017.vcxproj b/HIP-Basic/bit_extract/bit_extract_vs2017.vcxproj index 69d50d7e1..1ec1f7d6e 100644 --- a/HIP-Basic/bit_extract/bit_extract_vs2017.vcxproj +++ b/HIP-Basic/bit_extract/bit_extract_vs2017.vcxproj @@ -17,6 +17,12 @@ bit_extract_vs2017 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -27,13 +33,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -55,6 +61,9 @@ + + true + true @@ -69,7 +78,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -82,7 +91,7 @@ true - + Level2 __CUDACC__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -95,7 +104,7 @@ true - + Level2 true @@ -110,7 +119,7 @@ true - + Level2 true diff --git a/HIP-Basic/bit_extract/bit_extract_vs2019.vcxproj b/HIP-Basic/bit_extract/bit_extract_vs2019.vcxproj index 378d5e316..96a488405 100644 --- a/HIP-Basic/bit_extract/bit_extract_vs2019.vcxproj +++ b/HIP-Basic/bit_extract/bit_extract_vs2019.vcxproj @@ -17,6 +17,12 @@ bit_extract_vs2019 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -27,13 +33,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -55,6 +61,9 @@ + + true + true @@ -69,7 +78,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -82,7 +91,7 @@ true - + Level2 __CUDACC__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -95,7 +104,7 @@ true - + Level2 true @@ -110,7 +119,7 @@ true - + Level2 true diff --git a/HIP-Basic/bit_extract/bit_extract_vs2022.vcxproj b/HIP-Basic/bit_extract/bit_extract_vs2022.vcxproj index 2f8fd9cce..014fd5057 100644 --- a/HIP-Basic/bit_extract/bit_extract_vs2022.vcxproj +++ b/HIP-Basic/bit_extract/bit_extract_vs2022.vcxproj @@ -17,6 +17,12 @@ bit_extract_vs2022 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -27,13 +33,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -55,6 +61,9 @@ + + true + true @@ -69,7 +78,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -82,7 +91,7 @@ true - + Level2 __CUDACC__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -95,7 +104,7 @@ true - + Level2 true @@ -110,7 +119,7 @@ true - + Level2 true diff --git a/HIP-Basic/cooperative_groups/cooperative_groups_vs2017.vcxproj b/HIP-Basic/cooperative_groups/cooperative_groups_vs2017.vcxproj index 52f52b2ee..617491903 100644 --- a/HIP-Basic/cooperative_groups/cooperative_groups_vs2017.vcxproj +++ b/HIP-Basic/cooperative_groups/cooperative_groups_vs2017.vcxproj @@ -17,6 +17,12 @@ cooperative_groups_vs2017 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -27,13 +33,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -55,6 +61,9 @@ + + true + true @@ -69,7 +78,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -82,7 +91,7 @@ true - + Level2 __CUDACC__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -95,7 +104,7 @@ true - + Level2 true @@ -110,7 +119,7 @@ true - + Level2 true diff --git a/HIP-Basic/cooperative_groups/cooperative_groups_vs2019.vcxproj b/HIP-Basic/cooperative_groups/cooperative_groups_vs2019.vcxproj index 528532062..3041d85c2 100644 --- a/HIP-Basic/cooperative_groups/cooperative_groups_vs2019.vcxproj +++ b/HIP-Basic/cooperative_groups/cooperative_groups_vs2019.vcxproj @@ -17,6 +17,12 @@ cooperative_groups_vs2019 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -27,13 +33,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -55,6 +61,9 @@ + + true + true @@ -69,7 +78,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -82,7 +91,7 @@ true - + Level2 __CUDACC__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -95,7 +104,7 @@ true - + Level2 true @@ -110,7 +119,7 @@ true - + Level2 true diff --git a/HIP-Basic/cooperative_groups/cooperative_groups_vs2022.vcxproj b/HIP-Basic/cooperative_groups/cooperative_groups_vs2022.vcxproj index ba0b60357..6dc8025f0 100644 --- a/HIP-Basic/cooperative_groups/cooperative_groups_vs2022.vcxproj +++ b/HIP-Basic/cooperative_groups/cooperative_groups_vs2022.vcxproj @@ -17,6 +17,12 @@ cooperative_groups_vs2022 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -27,13 +33,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -55,6 +61,9 @@ + + true + true @@ -69,7 +78,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -82,7 +91,7 @@ true - + Level2 __CUDACC__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -95,7 +104,7 @@ true - + Level2 true @@ -110,7 +119,7 @@ true - + Level2 true diff --git a/HIP-Basic/device_globals/device_globals_vs2017.vcxproj b/HIP-Basic/device_globals/device_globals_vs2017.vcxproj index 8fce7324d..1054df4ed 100644 --- a/HIP-Basic/device_globals/device_globals_vs2017.vcxproj +++ b/HIP-Basic/device_globals/device_globals_vs2017.vcxproj @@ -17,6 +17,12 @@ device_globals_vs2017 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -27,13 +33,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -55,6 +61,9 @@ + + true + true @@ -69,7 +78,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -82,7 +91,7 @@ true - + Level2 __CUDACC__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -95,7 +104,7 @@ true - + Level2 true @@ -110,7 +119,7 @@ true - + Level2 true diff --git a/HIP-Basic/device_globals/device_globals_vs2019.vcxproj b/HIP-Basic/device_globals/device_globals_vs2019.vcxproj index d29c5c998..100167f59 100644 --- a/HIP-Basic/device_globals/device_globals_vs2019.vcxproj +++ b/HIP-Basic/device_globals/device_globals_vs2019.vcxproj @@ -17,6 +17,12 @@ device_globals_vs2019 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -27,13 +33,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -55,6 +61,9 @@ + + true + true @@ -69,7 +78,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -82,7 +91,7 @@ true - + Level2 __CUDACC__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -95,7 +104,7 @@ true - + Level2 true @@ -110,7 +119,7 @@ true - + Level2 true diff --git a/HIP-Basic/device_globals/device_globals_vs2022.vcxproj b/HIP-Basic/device_globals/device_globals_vs2022.vcxproj index 877c57489..6c21e40f7 100644 --- a/HIP-Basic/device_globals/device_globals_vs2022.vcxproj +++ b/HIP-Basic/device_globals/device_globals_vs2022.vcxproj @@ -17,6 +17,12 @@ device_globals_vs2022 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -27,13 +33,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -55,6 +61,9 @@ + + true + true @@ -69,7 +78,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -82,7 +91,7 @@ true - + Level2 __CUDACC__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -95,7 +104,7 @@ true - + Level2 true @@ -110,7 +119,7 @@ true - + Level2 true diff --git a/HIP-Basic/device_query/device_query_vs2017.vcxproj b/HIP-Basic/device_query/device_query_vs2017.vcxproj index 274e8004f..bb5e5a87e 100644 --- a/HIP-Basic/device_query/device_query_vs2017.vcxproj +++ b/HIP-Basic/device_query/device_query_vs2017.vcxproj @@ -17,6 +17,12 @@ device_query_vs2017 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -27,13 +33,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -55,6 +61,9 @@ + + true + true @@ -69,7 +78,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -82,7 +91,7 @@ true - + Level2 __CUDACC__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -95,7 +104,7 @@ true - + Level2 true @@ -110,7 +119,7 @@ true - + Level2 true diff --git a/HIP-Basic/device_query/device_query_vs2019.vcxproj b/HIP-Basic/device_query/device_query_vs2019.vcxproj index 88df9f18a..573f8555b 100644 --- a/HIP-Basic/device_query/device_query_vs2019.vcxproj +++ b/HIP-Basic/device_query/device_query_vs2019.vcxproj @@ -17,6 +17,12 @@ device_query_vs2019 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -27,13 +33,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -55,6 +61,9 @@ + + true + true @@ -69,7 +78,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -82,7 +91,7 @@ true - + Level2 __CUDACC__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -95,7 +104,7 @@ true - + Level2 true @@ -110,7 +119,7 @@ true - + Level2 true diff --git a/HIP-Basic/device_query/device_query_vs2022.vcxproj b/HIP-Basic/device_query/device_query_vs2022.vcxproj index c4cc64813..3da84ee4a 100644 --- a/HIP-Basic/device_query/device_query_vs2022.vcxproj +++ b/HIP-Basic/device_query/device_query_vs2022.vcxproj @@ -17,6 +17,12 @@ device_query_vs2022 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -27,13 +33,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -55,6 +61,9 @@ + + true + true @@ -69,7 +78,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -82,7 +91,7 @@ true - + Level2 __CUDACC__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -95,7 +104,7 @@ true - + Level2 true @@ -110,7 +119,7 @@ true - + Level2 true diff --git a/HIP-Basic/dynamic_shared/dynamic_shared_vs2017.vcxproj b/HIP-Basic/dynamic_shared/dynamic_shared_vs2017.vcxproj index 218e7c201..d3ea733fd 100644 --- a/HIP-Basic/dynamic_shared/dynamic_shared_vs2017.vcxproj +++ b/HIP-Basic/dynamic_shared/dynamic_shared_vs2017.vcxproj @@ -17,6 +17,12 @@ dynamic_shared_vs2017 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -27,13 +33,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -55,6 +61,9 @@ + + true + true @@ -69,7 +78,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -82,7 +91,7 @@ true - + Level2 __CUDACC__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -95,7 +104,7 @@ true - + Level2 true @@ -110,7 +119,7 @@ true - + Level2 true diff --git a/HIP-Basic/dynamic_shared/dynamic_shared_vs2019.vcxproj b/HIP-Basic/dynamic_shared/dynamic_shared_vs2019.vcxproj index 8a450d540..2dd838c05 100644 --- a/HIP-Basic/dynamic_shared/dynamic_shared_vs2019.vcxproj +++ b/HIP-Basic/dynamic_shared/dynamic_shared_vs2019.vcxproj @@ -17,6 +17,12 @@ dynamic_shared_vs2019 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -27,13 +33,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -55,6 +61,9 @@ + + true + true @@ -69,7 +78,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -82,7 +91,7 @@ true - + Level2 __CUDACC__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -95,7 +104,7 @@ true - + Level2 true @@ -110,7 +119,7 @@ true - + Level2 true diff --git a/HIP-Basic/dynamic_shared/dynamic_shared_vs2022.vcxproj b/HIP-Basic/dynamic_shared/dynamic_shared_vs2022.vcxproj index b4e5a164f..f4b9769f3 100644 --- a/HIP-Basic/dynamic_shared/dynamic_shared_vs2022.vcxproj +++ b/HIP-Basic/dynamic_shared/dynamic_shared_vs2022.vcxproj @@ -17,6 +17,12 @@ dynamic_shared_vs2022 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -27,13 +33,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -55,6 +61,9 @@ + + true + true @@ -69,7 +78,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -82,7 +91,7 @@ true - + Level2 __CUDACC__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -95,7 +104,7 @@ true - + Level2 true @@ -110,7 +119,7 @@ true - + Level2 true diff --git a/HIP-Basic/events/events_vs2017.vcxproj b/HIP-Basic/events/events_vs2017.vcxproj index 731ed6c8b..733256a21 100644 --- a/HIP-Basic/events/events_vs2017.vcxproj +++ b/HIP-Basic/events/events_vs2017.vcxproj @@ -17,6 +17,12 @@ events_vs2017 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -27,13 +33,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -55,6 +61,9 @@ + + true + true @@ -69,7 +78,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -82,7 +91,7 @@ true - + Level2 __CUDACC__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -95,7 +104,7 @@ true - + Level2 true @@ -110,7 +119,7 @@ true - + Level2 true diff --git a/HIP-Basic/events/events_vs2019.vcxproj b/HIP-Basic/events/events_vs2019.vcxproj index 714a70b99..5aa1dc9cc 100644 --- a/HIP-Basic/events/events_vs2019.vcxproj +++ b/HIP-Basic/events/events_vs2019.vcxproj @@ -17,6 +17,12 @@ events_vs2019 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -27,13 +33,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -55,6 +61,9 @@ + + true + true @@ -69,7 +78,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -82,7 +91,7 @@ true - + Level2 __CUDACC__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -95,7 +104,7 @@ true - + Level2 true @@ -110,7 +119,7 @@ true - + Level2 true diff --git a/HIP-Basic/events/events_vs2022.vcxproj b/HIP-Basic/events/events_vs2022.vcxproj index fc1183942..ece1637dc 100644 --- a/HIP-Basic/events/events_vs2022.vcxproj +++ b/HIP-Basic/events/events_vs2022.vcxproj @@ -17,6 +17,12 @@ events_vs2022 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -27,13 +33,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -55,6 +61,9 @@ + + true + true @@ -69,7 +78,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -82,7 +91,7 @@ true - + Level2 __CUDACC__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -95,7 +104,7 @@ true - + Level2 true @@ -110,7 +119,7 @@ true - + Level2 true diff --git a/HIP-Basic/gpu_arch/gpu_arch_vs2017.vcxproj b/HIP-Basic/gpu_arch/gpu_arch_vs2017.vcxproj index f47aec1a8..0866b7b6f 100644 --- a/HIP-Basic/gpu_arch/gpu_arch_vs2017.vcxproj +++ b/HIP-Basic/gpu_arch/gpu_arch_vs2017.vcxproj @@ -17,6 +17,12 @@ gpu_arch_vs2017 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -27,13 +33,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -55,6 +61,9 @@ + + true + true @@ -69,7 +78,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -82,7 +91,7 @@ true - + Level2 __CUDACC__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -95,7 +104,7 @@ true - + Level2 true @@ -110,7 +119,7 @@ true - + Level2 true diff --git a/HIP-Basic/gpu_arch/gpu_arch_vs2019.vcxproj b/HIP-Basic/gpu_arch/gpu_arch_vs2019.vcxproj index 095576a96..6d59c502e 100644 --- a/HIP-Basic/gpu_arch/gpu_arch_vs2019.vcxproj +++ b/HIP-Basic/gpu_arch/gpu_arch_vs2019.vcxproj @@ -17,6 +17,12 @@ gpu_arch_vs2019 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -27,13 +33,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -55,6 +61,9 @@ + + true + true @@ -69,7 +78,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -82,7 +91,7 @@ true - + Level2 __CUDACC__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -95,7 +104,7 @@ true - + Level2 true @@ -110,7 +119,7 @@ true - + Level2 true diff --git a/HIP-Basic/gpu_arch/gpu_arch_vs2022.vcxproj b/HIP-Basic/gpu_arch/gpu_arch_vs2022.vcxproj index d9b53e2c3..a03397d6b 100644 --- a/HIP-Basic/gpu_arch/gpu_arch_vs2022.vcxproj +++ b/HIP-Basic/gpu_arch/gpu_arch_vs2022.vcxproj @@ -17,6 +17,12 @@ gpu_arch_vs2022 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -27,13 +33,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -55,6 +61,9 @@ + + true + true @@ -69,7 +78,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -82,7 +91,7 @@ true - + Level2 __CUDACC__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -95,7 +104,7 @@ true - + Level2 true @@ -110,7 +119,7 @@ true - + Level2 true diff --git a/HIP-Basic/hello_world/hello_world_vs2017.vcxproj b/HIP-Basic/hello_world/hello_world_vs2017.vcxproj index 45b17b1fd..ff273d7f5 100644 --- a/HIP-Basic/hello_world/hello_world_vs2017.vcxproj +++ b/HIP-Basic/hello_world/hello_world_vs2017.vcxproj @@ -17,6 +17,12 @@ hello_world_vs2017 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -27,13 +33,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -55,6 +61,9 @@ + + true + true @@ -69,7 +78,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -82,7 +91,7 @@ true - + Level2 __CUDACC__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -95,7 +104,7 @@ true - + Level2 true @@ -110,7 +119,7 @@ true - + Level2 true diff --git a/HIP-Basic/hello_world/hello_world_vs2019.vcxproj b/HIP-Basic/hello_world/hello_world_vs2019.vcxproj index d4fb26a54..c2e5fc6c2 100644 --- a/HIP-Basic/hello_world/hello_world_vs2019.vcxproj +++ b/HIP-Basic/hello_world/hello_world_vs2019.vcxproj @@ -17,6 +17,12 @@ hello_world_vs2019 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -27,13 +33,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -55,6 +61,9 @@ + + true + true @@ -69,7 +78,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -82,7 +91,7 @@ true - + Level2 __CUDACC__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -95,7 +104,7 @@ true - + Level2 true @@ -110,7 +119,7 @@ true - + Level2 true diff --git a/HIP-Basic/hello_world/hello_world_vs2022.vcxproj b/HIP-Basic/hello_world/hello_world_vs2022.vcxproj index c8f5a8a36..4aeb42653 100644 --- a/HIP-Basic/hello_world/hello_world_vs2022.vcxproj +++ b/HIP-Basic/hello_world/hello_world_vs2022.vcxproj @@ -17,6 +17,12 @@ hello_world_vs2022 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -27,13 +33,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -55,6 +61,9 @@ + + true + true @@ -69,7 +78,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -82,7 +91,7 @@ true - + Level2 __CUDACC__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -95,7 +104,7 @@ true - + Level2 true @@ -110,7 +119,7 @@ true - + Level2 true diff --git a/HIP-Basic/inline_assembly/inline_assembly_vs2017.vcxproj b/HIP-Basic/inline_assembly/inline_assembly_vs2017.vcxproj index 200152722..17b2639d0 100644 --- a/HIP-Basic/inline_assembly/inline_assembly_vs2017.vcxproj +++ b/HIP-Basic/inline_assembly/inline_assembly_vs2017.vcxproj @@ -17,6 +17,12 @@ inline_assembly_vs2017 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -27,13 +33,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -55,6 +61,9 @@ + + true + true @@ -69,7 +78,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -82,7 +91,7 @@ true - + Level2 __CUDACC__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -95,7 +104,7 @@ true - + Level2 true @@ -110,7 +119,7 @@ true - + Level2 true diff --git a/HIP-Basic/inline_assembly/inline_assembly_vs2019.vcxproj b/HIP-Basic/inline_assembly/inline_assembly_vs2019.vcxproj index b9f6a767d..c70c4eb7c 100644 --- a/HIP-Basic/inline_assembly/inline_assembly_vs2019.vcxproj +++ b/HIP-Basic/inline_assembly/inline_assembly_vs2019.vcxproj @@ -17,6 +17,12 @@ inline_assembly_vs2019 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -27,13 +33,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -55,6 +61,9 @@ + + true + true @@ -69,7 +78,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -82,7 +91,7 @@ true - + Level2 __CUDACC__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -95,7 +104,7 @@ true - + Level2 true @@ -110,7 +119,7 @@ true - + Level2 true diff --git a/HIP-Basic/inline_assembly/inline_assembly_vs2022.vcxproj b/HIP-Basic/inline_assembly/inline_assembly_vs2022.vcxproj index d05c78919..dc2af7758 100644 --- a/HIP-Basic/inline_assembly/inline_assembly_vs2022.vcxproj +++ b/HIP-Basic/inline_assembly/inline_assembly_vs2022.vcxproj @@ -17,6 +17,12 @@ inline_assembly_vs2022 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -27,13 +33,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -55,6 +61,9 @@ + + true + true @@ -69,7 +78,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -82,7 +91,7 @@ true - + Level2 __CUDACC__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -95,7 +104,7 @@ true - + Level2 true @@ -110,7 +119,7 @@ true - + Level2 true diff --git a/HIP-Basic/llvm_ir_to_executable/llvm_ir_to_executable_vs2017.vcxproj b/HIP-Basic/llvm_ir_to_executable/llvm_ir_to_executable_vs2017.vcxproj index fc45d402b..58402c6bd 100644 --- a/HIP-Basic/llvm_ir_to_executable/llvm_ir_to_executable_vs2017.vcxproj +++ b/HIP-Basic/llvm_ir_to_executable/llvm_ir_to_executable_vs2017.vcxproj @@ -17,6 +17,12 @@ llvm_ir_to_executable_vs2017 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + --cuda-host-only @@ -41,13 +47,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -69,7 +75,10 @@ - + + true + + true @@ -88,7 +97,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -118,7 +127,7 @@ $(IntDir)main_device.obj - + Level2 true diff --git a/HIP-Basic/llvm_ir_to_executable/llvm_ir_to_executable_vs2019.vcxproj b/HIP-Basic/llvm_ir_to_executable/llvm_ir_to_executable_vs2019.vcxproj index 26c2d0d2a..ac69fc46d 100644 --- a/HIP-Basic/llvm_ir_to_executable/llvm_ir_to_executable_vs2019.vcxproj +++ b/HIP-Basic/llvm_ir_to_executable/llvm_ir_to_executable_vs2019.vcxproj @@ -17,6 +17,12 @@ llvm_ir_to_executable_vs2019 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + --cuda-host-only @@ -41,13 +47,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -69,7 +75,10 @@ - + + true + + true @@ -88,7 +97,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -118,7 +127,7 @@ $(IntDir)main_device.obj - + Level2 true diff --git a/HIP-Basic/llvm_ir_to_executable/llvm_ir_to_executable_vs2022.vcxproj b/HIP-Basic/llvm_ir_to_executable/llvm_ir_to_executable_vs2022.vcxproj index 0ecc8ad98..72854bfd4 100644 --- a/HIP-Basic/llvm_ir_to_executable/llvm_ir_to_executable_vs2022.vcxproj +++ b/HIP-Basic/llvm_ir_to_executable/llvm_ir_to_executable_vs2022.vcxproj @@ -17,6 +17,12 @@ llvm_ir_to_executable_vs2022 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + --cuda-host-only @@ -41,13 +47,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -69,7 +75,10 @@ - + + true + + true @@ -88,7 +97,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -118,7 +127,7 @@ $(IntDir)main_device.obj - + Level2 true diff --git a/HIP-Basic/matrix_multiplication/matrix_multiplication_vs2017.vcxproj b/HIP-Basic/matrix_multiplication/matrix_multiplication_vs2017.vcxproj index 34da034fe..1b5f68209 100644 --- a/HIP-Basic/matrix_multiplication/matrix_multiplication_vs2017.vcxproj +++ b/HIP-Basic/matrix_multiplication/matrix_multiplication_vs2017.vcxproj @@ -17,6 +17,12 @@ matrix_multiplication_vs2017 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -27,13 +33,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -55,6 +61,9 @@ + + true + true @@ -69,7 +78,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -82,7 +91,7 @@ true - + Level2 __CUDACC__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -95,7 +104,7 @@ true - + Level2 true @@ -110,7 +119,7 @@ true - + Level2 true diff --git a/HIP-Basic/matrix_multiplication/matrix_multiplication_vs2019.vcxproj b/HIP-Basic/matrix_multiplication/matrix_multiplication_vs2019.vcxproj index 633560ca1..816d29859 100644 --- a/HIP-Basic/matrix_multiplication/matrix_multiplication_vs2019.vcxproj +++ b/HIP-Basic/matrix_multiplication/matrix_multiplication_vs2019.vcxproj @@ -17,6 +17,12 @@ matrix_multiplication_vs2019 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -27,13 +33,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -55,6 +61,9 @@ + + true + true @@ -69,7 +78,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -82,7 +91,7 @@ true - + Level2 __CUDACC__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -95,7 +104,7 @@ true - + Level2 true @@ -110,7 +119,7 @@ true - + Level2 true diff --git a/HIP-Basic/matrix_multiplication/matrix_multiplication_vs2022.vcxproj b/HIP-Basic/matrix_multiplication/matrix_multiplication_vs2022.vcxproj index 807fc2982..3f9a00c22 100644 --- a/HIP-Basic/matrix_multiplication/matrix_multiplication_vs2022.vcxproj +++ b/HIP-Basic/matrix_multiplication/matrix_multiplication_vs2022.vcxproj @@ -17,6 +17,12 @@ matrix_multiplication_vs2022 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -27,13 +33,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -55,6 +61,9 @@ + + true + true @@ -69,7 +78,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -82,7 +91,7 @@ true - + Level2 __CUDACC__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -95,7 +104,7 @@ true - + Level2 true @@ -110,7 +119,7 @@ true - + Level2 true diff --git a/HIP-Basic/module_api/module_api_vs2017.vcxproj b/HIP-Basic/module_api/module_api_vs2017.vcxproj index c3588b944..5abff62ab 100644 --- a/HIP-Basic/module_api/module_api_vs2017.vcxproj +++ b/HIP-Basic/module_api/module_api_vs2017.vcxproj @@ -17,6 +17,12 @@ module_api_vs2017 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -40,13 +46,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -68,7 +74,10 @@ - + + true + + true @@ -87,7 +96,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -100,7 +109,7 @@ true - + Level2 true diff --git a/HIP-Basic/module_api/module_api_vs2019.vcxproj b/HIP-Basic/module_api/module_api_vs2019.vcxproj index af95a36da..a30af62cd 100644 --- a/HIP-Basic/module_api/module_api_vs2019.vcxproj +++ b/HIP-Basic/module_api/module_api_vs2019.vcxproj @@ -17,6 +17,12 @@ module_api_vs2019 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -40,13 +46,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -68,7 +74,10 @@ - + + true + + true @@ -87,7 +96,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -100,7 +109,7 @@ true - + Level2 true diff --git a/HIP-Basic/module_api/module_api_vs2022.vcxproj b/HIP-Basic/module_api/module_api_vs2022.vcxproj index 35ca3d868..7f97fc9c8 100644 --- a/HIP-Basic/module_api/module_api_vs2022.vcxproj +++ b/HIP-Basic/module_api/module_api_vs2022.vcxproj @@ -17,6 +17,12 @@ module_api_vs2022 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -40,13 +46,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -68,7 +74,10 @@ - + + true + + true @@ -87,7 +96,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -100,7 +109,7 @@ true - + Level2 true diff --git a/HIP-Basic/moving_average/moving_average_vs2017.vcxproj b/HIP-Basic/moving_average/moving_average_vs2017.vcxproj index a040458e5..099155f4e 100644 --- a/HIP-Basic/moving_average/moving_average_vs2017.vcxproj +++ b/HIP-Basic/moving_average/moving_average_vs2017.vcxproj @@ -17,6 +17,12 @@ moving_average_vs2017 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -27,13 +33,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -55,6 +61,9 @@ + + true + true @@ -69,7 +78,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -82,7 +91,7 @@ true - + Level2 __CUDACC__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -95,7 +104,7 @@ true - + Level2 true @@ -110,7 +119,7 @@ true - + Level2 true diff --git a/HIP-Basic/moving_average/moving_average_vs2019.vcxproj b/HIP-Basic/moving_average/moving_average_vs2019.vcxproj index e4c8e55bf..f77a6b72e 100644 --- a/HIP-Basic/moving_average/moving_average_vs2019.vcxproj +++ b/HIP-Basic/moving_average/moving_average_vs2019.vcxproj @@ -17,6 +17,12 @@ moving_average_vs2019 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -27,13 +33,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -55,6 +61,9 @@ + + true + true @@ -69,7 +78,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -82,7 +91,7 @@ true - + Level2 __CUDACC__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -95,7 +104,7 @@ true - + Level2 true @@ -110,7 +119,7 @@ true - + Level2 true diff --git a/HIP-Basic/moving_average/moving_average_vs2022.vcxproj b/HIP-Basic/moving_average/moving_average_vs2022.vcxproj index a0e25c23f..a61aef522 100644 --- a/HIP-Basic/moving_average/moving_average_vs2022.vcxproj +++ b/HIP-Basic/moving_average/moving_average_vs2022.vcxproj @@ -17,6 +17,12 @@ moving_average_vs2022 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -27,13 +33,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -55,6 +61,9 @@ + + true + true @@ -69,7 +78,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -82,7 +91,7 @@ true - + Level2 __CUDACC__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -95,7 +104,7 @@ true - + Level2 true @@ -110,7 +119,7 @@ true - + Level2 true diff --git a/HIP-Basic/multi_gpu_data_transfer/multi_gpu_data_transfer_vs2017.vcxproj b/HIP-Basic/multi_gpu_data_transfer/multi_gpu_data_transfer_vs2017.vcxproj index 986a2f41b..c6cdc3204 100644 --- a/HIP-Basic/multi_gpu_data_transfer/multi_gpu_data_transfer_vs2017.vcxproj +++ b/HIP-Basic/multi_gpu_data_transfer/multi_gpu_data_transfer_vs2017.vcxproj @@ -17,6 +17,12 @@ multi_gpu_data_transfer_vs2017 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -27,13 +33,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -55,6 +61,9 @@ + + true + true @@ -69,7 +78,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -82,7 +91,7 @@ true - + Level2 __CUDACC__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -95,7 +104,7 @@ true - + Level2 true @@ -110,7 +119,7 @@ true - + Level2 true diff --git a/HIP-Basic/multi_gpu_data_transfer/multi_gpu_data_transfer_vs2019.vcxproj b/HIP-Basic/multi_gpu_data_transfer/multi_gpu_data_transfer_vs2019.vcxproj index d0a586bc1..85dba1004 100644 --- a/HIP-Basic/multi_gpu_data_transfer/multi_gpu_data_transfer_vs2019.vcxproj +++ b/HIP-Basic/multi_gpu_data_transfer/multi_gpu_data_transfer_vs2019.vcxproj @@ -17,6 +17,12 @@ multi_gpu_data_transfer_vs2019 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -27,13 +33,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -55,6 +61,9 @@ + + true + true @@ -69,7 +78,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -82,7 +91,7 @@ true - + Level2 __CUDACC__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -95,7 +104,7 @@ true - + Level2 true @@ -110,7 +119,7 @@ true - + Level2 true diff --git a/HIP-Basic/multi_gpu_data_transfer/multi_gpu_data_transfer_vs2022.vcxproj b/HIP-Basic/multi_gpu_data_transfer/multi_gpu_data_transfer_vs2022.vcxproj index 0de34353f..263b88b45 100644 --- a/HIP-Basic/multi_gpu_data_transfer/multi_gpu_data_transfer_vs2022.vcxproj +++ b/HIP-Basic/multi_gpu_data_transfer/multi_gpu_data_transfer_vs2022.vcxproj @@ -17,6 +17,12 @@ multi_gpu_data_transfer_vs2022 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -27,13 +33,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -55,6 +61,9 @@ + + true + true @@ -69,7 +78,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -82,7 +91,7 @@ true - + Level2 __CUDACC__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -95,7 +104,7 @@ true - + Level2 true @@ -110,7 +119,7 @@ true - + Level2 true diff --git a/HIP-Basic/occupancy/occupancy_vs2017.vcxproj b/HIP-Basic/occupancy/occupancy_vs2017.vcxproj index 2939b56c3..e76b1b685 100644 --- a/HIP-Basic/occupancy/occupancy_vs2017.vcxproj +++ b/HIP-Basic/occupancy/occupancy_vs2017.vcxproj @@ -17,6 +17,12 @@ occupancy_vs2017 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -27,13 +33,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -55,6 +61,9 @@ + + true + true @@ -69,7 +78,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -82,7 +91,7 @@ true - + Level2 __CUDACC__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -95,7 +104,7 @@ true - + Level2 true @@ -110,7 +119,7 @@ true - + Level2 true diff --git a/HIP-Basic/occupancy/occupancy_vs2019.vcxproj b/HIP-Basic/occupancy/occupancy_vs2019.vcxproj index 655b7ae3d..5ca37c91a 100644 --- a/HIP-Basic/occupancy/occupancy_vs2019.vcxproj +++ b/HIP-Basic/occupancy/occupancy_vs2019.vcxproj @@ -17,6 +17,12 @@ occupancy_vs2019 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -27,13 +33,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -55,6 +61,9 @@ + + true + true @@ -69,7 +78,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -82,7 +91,7 @@ true - + Level2 __CUDACC__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -95,7 +104,7 @@ true - + Level2 true @@ -110,7 +119,7 @@ true - + Level2 true diff --git a/HIP-Basic/occupancy/occupancy_vs2022.vcxproj b/HIP-Basic/occupancy/occupancy_vs2022.vcxproj index 8725934bd..7fb1dc30c 100644 --- a/HIP-Basic/occupancy/occupancy_vs2022.vcxproj +++ b/HIP-Basic/occupancy/occupancy_vs2022.vcxproj @@ -17,6 +17,12 @@ occupancy_vs2022 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -27,13 +33,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -55,6 +61,9 @@ + + true + true @@ -69,7 +78,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -82,7 +91,7 @@ true - + Level2 __CUDACC__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -95,7 +104,7 @@ true - + Level2 true @@ -110,7 +119,7 @@ true - + Level2 true diff --git a/HIP-Basic/opengl_interop/opengl_interop_vs2017.vcxproj b/HIP-Basic/opengl_interop/opengl_interop_vs2017.vcxproj index c6bbcde78..e134469d7 100644 --- a/HIP-Basic/opengl_interop/opengl_interop_vs2017.vcxproj +++ b/HIP-Basic/opengl_interop/opengl_interop_vs2017.vcxproj @@ -17,6 +17,12 @@ opengl_interop_vs2017 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -35,13 +41,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -63,6 +69,9 @@ + + true + true @@ -77,7 +86,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -92,7 +101,7 @@ glfw3dll.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 __CUDACC__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -107,7 +116,7 @@ glfw3dll.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true @@ -124,7 +133,7 @@ glfw3dll.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/HIP-Basic/opengl_interop/opengl_interop_vs2019.vcxproj b/HIP-Basic/opengl_interop/opengl_interop_vs2019.vcxproj index e0ab77b4d..6176f2771 100644 --- a/HIP-Basic/opengl_interop/opengl_interop_vs2019.vcxproj +++ b/HIP-Basic/opengl_interop/opengl_interop_vs2019.vcxproj @@ -17,6 +17,12 @@ opengl_interop_vs2019 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -35,13 +41,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -63,6 +69,9 @@ + + true + true @@ -77,7 +86,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -92,7 +101,7 @@ glfw3dll.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 __CUDACC__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -107,7 +116,7 @@ glfw3dll.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true @@ -124,7 +133,7 @@ glfw3dll.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/HIP-Basic/opengl_interop/opengl_interop_vs2022.vcxproj b/HIP-Basic/opengl_interop/opengl_interop_vs2022.vcxproj index 023f13949..503f553c7 100644 --- a/HIP-Basic/opengl_interop/opengl_interop_vs2022.vcxproj +++ b/HIP-Basic/opengl_interop/opengl_interop_vs2022.vcxproj @@ -17,6 +17,12 @@ opengl_interop_vs2022 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -35,13 +41,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -63,6 +69,9 @@ + + true + true @@ -77,7 +86,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -92,7 +101,7 @@ glfw3dll.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 __CUDACC__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -107,7 +116,7 @@ glfw3dll.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true @@ -124,7 +133,7 @@ glfw3dll.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/HIP-Basic/runtime_compilation/runtime_compilation_vs2017.vcxproj b/HIP-Basic/runtime_compilation/runtime_compilation_vs2017.vcxproj index c73c14c18..b2d3e35a0 100644 --- a/HIP-Basic/runtime_compilation/runtime_compilation_vs2017.vcxproj +++ b/HIP-Basic/runtime_compilation/runtime_compilation_vs2017.vcxproj @@ -17,13 +17,19 @@ runtime_compilation_vs2017 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + - + PreserveNewest @@ -38,13 +44,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -66,6 +72,9 @@ + + true + true @@ -80,7 +89,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -94,7 +103,7 @@ hiprtc.lib;hiprtc-builtins.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 __CUDACC__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -108,7 +117,7 @@ nvrtc.lib;cuda.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true @@ -124,7 +133,7 @@ hiprtc.lib;hiprtc-builtins.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/HIP-Basic/runtime_compilation/runtime_compilation_vs2019.vcxproj b/HIP-Basic/runtime_compilation/runtime_compilation_vs2019.vcxproj index 3e13da6fc..64f9a4685 100644 --- a/HIP-Basic/runtime_compilation/runtime_compilation_vs2019.vcxproj +++ b/HIP-Basic/runtime_compilation/runtime_compilation_vs2019.vcxproj @@ -17,13 +17,19 @@ runtime_compilation_vs2019 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + - + PreserveNewest @@ -38,13 +44,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -66,6 +72,9 @@ + + true + true @@ -80,7 +89,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -94,7 +103,7 @@ hiprtc.lib;hiprtc-builtins.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 __CUDACC__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -108,7 +117,7 @@ nvrtc.lib;cuda.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true @@ -124,7 +133,7 @@ hiprtc.lib;hiprtc-builtins.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/HIP-Basic/runtime_compilation/runtime_compilation_vs2022.vcxproj b/HIP-Basic/runtime_compilation/runtime_compilation_vs2022.vcxproj index 5f125b8be..753bbde13 100644 --- a/HIP-Basic/runtime_compilation/runtime_compilation_vs2022.vcxproj +++ b/HIP-Basic/runtime_compilation/runtime_compilation_vs2022.vcxproj @@ -17,13 +17,19 @@ runtime_compilation_vs2022 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + - + PreserveNewest @@ -38,13 +44,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -66,6 +72,9 @@ + + true + true @@ -80,7 +89,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -94,7 +103,7 @@ hiprtc.lib;hiprtc-builtins.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 __CUDACC__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -108,7 +117,7 @@ nvrtc.lib;cuda.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true @@ -124,7 +133,7 @@ hiprtc.lib;hiprtc-builtins.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/HIP-Basic/saxpy/saxpy_vs2017.vcxproj b/HIP-Basic/saxpy/saxpy_vs2017.vcxproj index cb5dd9e4d..dd4ce12de 100644 --- a/HIP-Basic/saxpy/saxpy_vs2017.vcxproj +++ b/HIP-Basic/saxpy/saxpy_vs2017.vcxproj @@ -17,6 +17,12 @@ saxpy_vs2017 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -27,13 +33,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -55,6 +61,9 @@ + + true + true @@ -69,7 +78,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -82,7 +91,7 @@ true - + Level2 __CUDACC__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -95,7 +104,7 @@ true - + Level2 true @@ -110,7 +119,7 @@ true - + Level2 true diff --git a/HIP-Basic/saxpy/saxpy_vs2019.vcxproj b/HIP-Basic/saxpy/saxpy_vs2019.vcxproj index 397b144ea..56eb59c7f 100644 --- a/HIP-Basic/saxpy/saxpy_vs2019.vcxproj +++ b/HIP-Basic/saxpy/saxpy_vs2019.vcxproj @@ -17,6 +17,12 @@ saxpy_vs2019 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -27,13 +33,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -55,6 +61,9 @@ + + true + true @@ -69,7 +78,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -82,7 +91,7 @@ true - + Level2 __CUDACC__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -95,7 +104,7 @@ true - + Level2 true @@ -110,7 +119,7 @@ true - + Level2 true diff --git a/HIP-Basic/saxpy/saxpy_vs2022.vcxproj b/HIP-Basic/saxpy/saxpy_vs2022.vcxproj index 0656a99bb..8fffc9f90 100644 --- a/HIP-Basic/saxpy/saxpy_vs2022.vcxproj +++ b/HIP-Basic/saxpy/saxpy_vs2022.vcxproj @@ -17,6 +17,12 @@ saxpy_vs2022 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -27,13 +33,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -55,6 +61,9 @@ + + true + true @@ -69,7 +78,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -82,7 +91,7 @@ true - + Level2 __CUDACC__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -95,7 +104,7 @@ true - + Level2 true @@ -110,7 +119,7 @@ true - + Level2 true diff --git a/HIP-Basic/shared_memory/shared_memory_vs2017.vcxproj b/HIP-Basic/shared_memory/shared_memory_vs2017.vcxproj index 2aa1f9473..36d18cbda 100644 --- a/HIP-Basic/shared_memory/shared_memory_vs2017.vcxproj +++ b/HIP-Basic/shared_memory/shared_memory_vs2017.vcxproj @@ -17,6 +17,12 @@ shared_memory_vs2017 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -27,13 +33,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -55,6 +61,9 @@ + + true + true @@ -69,7 +78,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -82,7 +91,7 @@ true - + Level2 __CUDACC__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -95,7 +104,7 @@ true - + Level2 true @@ -110,7 +119,7 @@ true - + Level2 true diff --git a/HIP-Basic/shared_memory/shared_memory_vs2019.vcxproj b/HIP-Basic/shared_memory/shared_memory_vs2019.vcxproj index de24fa388..cc45445e1 100644 --- a/HIP-Basic/shared_memory/shared_memory_vs2019.vcxproj +++ b/HIP-Basic/shared_memory/shared_memory_vs2019.vcxproj @@ -17,6 +17,12 @@ shared_memory_vs2019 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -27,13 +33,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -55,6 +61,9 @@ + + true + true @@ -69,7 +78,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -82,7 +91,7 @@ true - + Level2 __CUDACC__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -95,7 +104,7 @@ true - + Level2 true @@ -110,7 +119,7 @@ true - + Level2 true diff --git a/HIP-Basic/shared_memory/shared_memory_vs2022.vcxproj b/HIP-Basic/shared_memory/shared_memory_vs2022.vcxproj index 6db3fa140..2bfdf59cd 100644 --- a/HIP-Basic/shared_memory/shared_memory_vs2022.vcxproj +++ b/HIP-Basic/shared_memory/shared_memory_vs2022.vcxproj @@ -17,6 +17,12 @@ shared_memory_vs2022 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -27,13 +33,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -55,6 +61,9 @@ + + true + true @@ -69,7 +78,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -82,7 +91,7 @@ true - + Level2 __CUDACC__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -95,7 +104,7 @@ true - + Level2 true @@ -110,7 +119,7 @@ true - + Level2 true diff --git a/HIP-Basic/static_host_library/library/libhip_static_host_vs2017.vcxproj b/HIP-Basic/static_host_library/library/libhip_static_host_vs2017.vcxproj index 9fc7aaa62..060cedf4e 100644 --- a/HIP-Basic/static_host_library/library/libhip_static_host_vs2017.vcxproj +++ b/HIP-Basic/static_host_library/library/libhip_static_host_vs2017.vcxproj @@ -17,6 +17,12 @@ libhip_static_host_vs2017 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -28,13 +34,13 @@ StaticLibrary true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode StaticLibrary false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -45,8 +51,8 @@ - - + + @@ -56,6 +62,9 @@ + + true + true @@ -68,7 +77,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -81,7 +90,7 @@ true - + Level2 __CUDACC__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -94,7 +103,7 @@ true - + Level2 true @@ -109,7 +118,7 @@ true - + Level2 true @@ -125,7 +134,7 @@ - - + + \ No newline at end of file diff --git a/HIP-Basic/static_host_library/library/libhip_static_host_vs2019.vcxproj b/HIP-Basic/static_host_library/library/libhip_static_host_vs2019.vcxproj index 336344a61..26ff61331 100644 --- a/HIP-Basic/static_host_library/library/libhip_static_host_vs2019.vcxproj +++ b/HIP-Basic/static_host_library/library/libhip_static_host_vs2019.vcxproj @@ -17,6 +17,12 @@ libhip_static_host_vs2019 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -28,13 +34,13 @@ StaticLibrary true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode StaticLibrary false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -45,8 +51,8 @@ - - + + @@ -56,6 +62,9 @@ + + true + true @@ -68,7 +77,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -81,7 +90,7 @@ true - + Level2 __CUDACC__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -94,7 +103,7 @@ true - + Level2 true @@ -109,7 +118,7 @@ true - + Level2 true @@ -125,7 +134,7 @@ - - + + diff --git a/HIP-Basic/static_host_library/library/libhip_static_host_vs2022.vcxproj b/HIP-Basic/static_host_library/library/libhip_static_host_vs2022.vcxproj index 5e2106672..ffb2a8873 100644 --- a/HIP-Basic/static_host_library/library/libhip_static_host_vs2022.vcxproj +++ b/HIP-Basic/static_host_library/library/libhip_static_host_vs2022.vcxproj @@ -17,6 +17,12 @@ libhip_static_host_vs2022 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -28,13 +34,13 @@ StaticLibrary true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode StaticLibrary false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -45,8 +51,8 @@ - - + + @@ -56,6 +62,9 @@ + + true + true @@ -68,7 +77,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -81,7 +90,7 @@ true - + Level2 __CUDACC__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -94,7 +103,7 @@ true - + Level2 true @@ -109,7 +118,7 @@ true - + Level2 true @@ -125,7 +134,7 @@ - - + + diff --git a/HIP-Basic/static_host_library/static_host_library_vs2017.vcxproj b/HIP-Basic/static_host_library/static_host_library_vs2017.vcxproj index bad0819cb..0c10c714d 100644 --- a/HIP-Basic/static_host_library/static_host_library_vs2017.vcxproj +++ b/HIP-Basic/static_host_library/static_host_library_vs2017.vcxproj @@ -17,6 +17,12 @@ static_host_library_vs2017 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -32,13 +38,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -60,6 +66,9 @@ + + true + true @@ -74,7 +83,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -87,7 +96,7 @@ true - + Level2 __CUDACC__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -100,7 +109,7 @@ true - + Level2 true @@ -115,7 +124,7 @@ true - + Level2 true diff --git a/HIP-Basic/static_host_library/static_host_library_vs2019.vcxproj b/HIP-Basic/static_host_library/static_host_library_vs2019.vcxproj index 41f33bae4..2903512bc 100644 --- a/HIP-Basic/static_host_library/static_host_library_vs2019.vcxproj +++ b/HIP-Basic/static_host_library/static_host_library_vs2019.vcxproj @@ -17,6 +17,12 @@ static_host_library_vs2019 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -32,13 +38,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -60,6 +66,9 @@ + + true + true @@ -74,7 +83,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -87,7 +96,7 @@ true - + Level2 __CUDACC__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -100,7 +109,7 @@ true - + Level2 true @@ -115,7 +124,7 @@ true - + Level2 true diff --git a/HIP-Basic/static_host_library/static_host_library_vs2022.vcxproj b/HIP-Basic/static_host_library/static_host_library_vs2022.vcxproj index 1b1cebfb9..fcd854640 100644 --- a/HIP-Basic/static_host_library/static_host_library_vs2022.vcxproj +++ b/HIP-Basic/static_host_library/static_host_library_vs2022.vcxproj @@ -17,6 +17,12 @@ static_host_library_vs2022 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -32,13 +38,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -60,6 +66,9 @@ + + true + true @@ -74,7 +83,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -87,7 +96,7 @@ true - + Level2 __CUDACC__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -100,7 +109,7 @@ true - + Level2 true @@ -115,7 +124,7 @@ true - + Level2 true diff --git a/HIP-Basic/streams/streams_vs2017.vcxproj b/HIP-Basic/streams/streams_vs2017.vcxproj index cc4433206..b68be0fbd 100644 --- a/HIP-Basic/streams/streams_vs2017.vcxproj +++ b/HIP-Basic/streams/streams_vs2017.vcxproj @@ -17,6 +17,12 @@ streams_vs2017 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -27,13 +33,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -55,6 +61,9 @@ + + true + true @@ -69,7 +78,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -82,7 +91,7 @@ true - + Level2 __CUDACC__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -95,7 +104,7 @@ true - + Level2 true @@ -110,7 +119,7 @@ true - + Level2 true diff --git a/HIP-Basic/streams/streams_vs2019.vcxproj b/HIP-Basic/streams/streams_vs2019.vcxproj index b7a6a5848..2e5c07752 100644 --- a/HIP-Basic/streams/streams_vs2019.vcxproj +++ b/HIP-Basic/streams/streams_vs2019.vcxproj @@ -17,6 +17,12 @@ streams_vs2019 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -27,13 +33,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -55,6 +61,9 @@ + + true + true @@ -69,7 +78,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -82,7 +91,7 @@ true - + Level2 __CUDACC__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -95,7 +104,7 @@ true - + Level2 true @@ -110,7 +119,7 @@ true - + Level2 true diff --git a/HIP-Basic/streams/streams_vs2022.vcxproj b/HIP-Basic/streams/streams_vs2022.vcxproj index 6de97b746..04c695207 100644 --- a/HIP-Basic/streams/streams_vs2022.vcxproj +++ b/HIP-Basic/streams/streams_vs2022.vcxproj @@ -17,6 +17,12 @@ streams_vs2022 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -27,13 +33,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -55,6 +61,9 @@ + + true + true @@ -69,7 +78,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -82,7 +91,7 @@ true - + Level2 __CUDACC__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -95,7 +104,7 @@ true - + Level2 true @@ -110,7 +119,7 @@ true - + Level2 true diff --git a/HIP-Basic/texture_management/texture_management_vs2017.vcxproj b/HIP-Basic/texture_management/texture_management_vs2017.vcxproj index 9a6409d4a..f7aed216f 100644 --- a/HIP-Basic/texture_management/texture_management_vs2017.vcxproj +++ b/HIP-Basic/texture_management/texture_management_vs2017.vcxproj @@ -17,6 +17,12 @@ texture_management_vs2017 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -27,13 +33,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -55,6 +61,9 @@ + + true + true @@ -69,7 +78,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -82,7 +91,7 @@ true - + Level2 __CUDACC__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -95,7 +104,7 @@ true - + Level2 true @@ -110,7 +119,7 @@ true - + Level2 true diff --git a/HIP-Basic/texture_management/texture_management_vs2019.vcxproj b/HIP-Basic/texture_management/texture_management_vs2019.vcxproj index 90cf3fe1e..011f2e991 100644 --- a/HIP-Basic/texture_management/texture_management_vs2019.vcxproj +++ b/HIP-Basic/texture_management/texture_management_vs2019.vcxproj @@ -17,6 +17,12 @@ texture_management_vs2019 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -27,13 +33,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -55,6 +61,9 @@ + + true + true @@ -69,7 +78,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -82,7 +91,7 @@ true - + Level2 __CUDACC__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -95,7 +104,7 @@ true - + Level2 true @@ -110,7 +119,7 @@ true - + Level2 true diff --git a/HIP-Basic/texture_management/texture_management_vs2022.vcxproj b/HIP-Basic/texture_management/texture_management_vs2022.vcxproj index 80d1c903a..ff22bb102 100644 --- a/HIP-Basic/texture_management/texture_management_vs2022.vcxproj +++ b/HIP-Basic/texture_management/texture_management_vs2022.vcxproj @@ -17,6 +17,12 @@ texture_management_vs2022 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -27,13 +33,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -55,6 +61,9 @@ + + true + true @@ -69,7 +78,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -82,7 +91,7 @@ true - + Level2 __CUDACC__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -95,7 +104,7 @@ true - + Level2 true @@ -110,7 +119,7 @@ true - + Level2 true diff --git a/HIP-Basic/vulkan_interop/vulkan_interop_vs2017.vcxproj b/HIP-Basic/vulkan_interop/vulkan_interop_vs2017.vcxproj index c1ebcebd3..cfd675d21 100644 --- a/HIP-Basic/vulkan_interop/vulkan_interop_vs2017.vcxproj +++ b/HIP-Basic/vulkan_interop/vulkan_interop_vs2017.vcxproj @@ -17,6 +17,12 @@ vulkan_interop_vs2017 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -54,13 +60,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -82,7 +88,10 @@ - + + true + + true @@ -101,7 +110,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -116,7 +125,7 @@ glfw3dll.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/HIP-Basic/vulkan_interop/vulkan_interop_vs2019.vcxproj b/HIP-Basic/vulkan_interop/vulkan_interop_vs2019.vcxproj index 427cb3961..d49442d9b 100644 --- a/HIP-Basic/vulkan_interop/vulkan_interop_vs2019.vcxproj +++ b/HIP-Basic/vulkan_interop/vulkan_interop_vs2019.vcxproj @@ -17,6 +17,12 @@ vulkan_interop_vs2019 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -54,13 +60,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -82,7 +88,10 @@ - + + true + + true @@ -101,7 +110,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -116,7 +125,7 @@ glfw3dll.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/HIP-Basic/vulkan_interop/vulkan_interop_vs2022.vcxproj b/HIP-Basic/vulkan_interop/vulkan_interop_vs2022.vcxproj index 827e588b9..9a923160c 100644 --- a/HIP-Basic/vulkan_interop/vulkan_interop_vs2022.vcxproj +++ b/HIP-Basic/vulkan_interop/vulkan_interop_vs2022.vcxproj @@ -17,6 +17,12 @@ vulkan_interop_vs2022 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -54,13 +60,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -82,7 +88,10 @@ - + + true + + true @@ -101,7 +110,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -116,7 +125,7 @@ glfw3dll.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/HIP-Basic/warp_shuffle/warp_shuffle_vs2017.vcxproj b/HIP-Basic/warp_shuffle/warp_shuffle_vs2017.vcxproj index 341528f1d..a4b6f85eb 100644 --- a/HIP-Basic/warp_shuffle/warp_shuffle_vs2017.vcxproj +++ b/HIP-Basic/warp_shuffle/warp_shuffle_vs2017.vcxproj @@ -17,6 +17,12 @@ warp_shuffle_vs2017 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -27,13 +33,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -55,6 +61,9 @@ + + true + true @@ -69,7 +78,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -82,7 +91,7 @@ true - + Level2 __CUDACC__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -95,7 +104,7 @@ true - + Level2 true @@ -110,7 +119,7 @@ true - + Level2 true diff --git a/HIP-Basic/warp_shuffle/warp_shuffle_vs2019.vcxproj b/HIP-Basic/warp_shuffle/warp_shuffle_vs2019.vcxproj index 01ee35553..35b074aa9 100644 --- a/HIP-Basic/warp_shuffle/warp_shuffle_vs2019.vcxproj +++ b/HIP-Basic/warp_shuffle/warp_shuffle_vs2019.vcxproj @@ -17,6 +17,12 @@ warp_shuffle_vs2019 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -27,13 +33,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -55,6 +61,9 @@ + + true + true @@ -69,7 +78,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -82,7 +91,7 @@ true - + Level2 __CUDACC__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -95,7 +104,7 @@ true - + Level2 true @@ -110,7 +119,7 @@ true - + Level2 true diff --git a/HIP-Basic/warp_shuffle/warp_shuffle_vs2022.vcxproj b/HIP-Basic/warp_shuffle/warp_shuffle_vs2022.vcxproj index 6db03d10b..fa2c0ecc1 100644 --- a/HIP-Basic/warp_shuffle/warp_shuffle_vs2022.vcxproj +++ b/HIP-Basic/warp_shuffle/warp_shuffle_vs2022.vcxproj @@ -17,6 +17,12 @@ warp_shuffle_vs2022 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -27,13 +33,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -55,6 +61,9 @@ + + true + true @@ -69,7 +78,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -82,7 +91,7 @@ true - + Level2 __CUDACC__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -95,7 +104,7 @@ true - + Level2 true @@ -110,7 +119,7 @@ true - + Level2 true diff --git a/Libraries/hipBLAS/gemm_strided_batched/gemm_strided_batched_vs2017.vcxproj b/Libraries/hipBLAS/gemm_strided_batched/gemm_strided_batched_vs2017.vcxproj index bd74f850f..b52b17c1d 100644 --- a/Libraries/hipBLAS/gemm_strided_batched/gemm_strided_batched_vs2017.vcxproj +++ b/Libraries/hipBLAS/gemm_strided_batched/gemm_strided_batched_vs2017.vcxproj @@ -17,6 +17,12 @@ gemm_strided_batched_vs2017 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -25,7 +31,7 @@ - + PreserveNewest @@ -41,13 +47,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -69,7 +75,10 @@ - + + true + + true @@ -86,7 +95,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -100,7 +109,7 @@ hipblas.lib;rocblas.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/Libraries/hipBLAS/gemm_strided_batched/gemm_strided_batched_vs2019.vcxproj b/Libraries/hipBLAS/gemm_strided_batched/gemm_strided_batched_vs2019.vcxproj index 129dbe42c..224e54ae5 100644 --- a/Libraries/hipBLAS/gemm_strided_batched/gemm_strided_batched_vs2019.vcxproj +++ b/Libraries/hipBLAS/gemm_strided_batched/gemm_strided_batched_vs2019.vcxproj @@ -17,6 +17,12 @@ gemm_strided_batched_vs2019 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -25,7 +31,7 @@ - + PreserveNewest @@ -41,13 +47,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -69,7 +75,10 @@ - + + true + + true @@ -86,7 +95,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -100,7 +109,7 @@ hipblas.lib;rocblas.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/Libraries/hipBLAS/gemm_strided_batched/gemm_strided_batched_vs2022.vcxproj b/Libraries/hipBLAS/gemm_strided_batched/gemm_strided_batched_vs2022.vcxproj index 3300ed700..495c6fa87 100644 --- a/Libraries/hipBLAS/gemm_strided_batched/gemm_strided_batched_vs2022.vcxproj +++ b/Libraries/hipBLAS/gemm_strided_batched/gemm_strided_batched_vs2022.vcxproj @@ -17,6 +17,12 @@ gemm_strided_batched_vs2022 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -25,7 +31,7 @@ - + PreserveNewest @@ -41,13 +47,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -69,7 +75,10 @@ - + + true + + true @@ -86,7 +95,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -100,7 +109,7 @@ hipblas.lib;rocblas.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/Libraries/hipBLAS/her/her_vs2017.vcxproj b/Libraries/hipBLAS/her/her_vs2017.vcxproj index e3c6ad75a..869d194d8 100644 --- a/Libraries/hipBLAS/her/her_vs2017.vcxproj +++ b/Libraries/hipBLAS/her/her_vs2017.vcxproj @@ -17,6 +17,12 @@ her_vs2017 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -25,7 +31,7 @@ - + PreserveNewest @@ -41,13 +47,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -69,7 +75,10 @@ - + + true + + true @@ -86,7 +95,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -100,7 +109,7 @@ hipblas.lib;rocblas.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/Libraries/hipBLAS/her/her_vs2019.vcxproj b/Libraries/hipBLAS/her/her_vs2019.vcxproj index 68d373844..48dc050f2 100644 --- a/Libraries/hipBLAS/her/her_vs2019.vcxproj +++ b/Libraries/hipBLAS/her/her_vs2019.vcxproj @@ -17,6 +17,12 @@ her_vs2019 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -25,7 +31,7 @@ - + PreserveNewest @@ -41,13 +47,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -69,7 +75,10 @@ - + + true + + true @@ -86,7 +95,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -100,7 +109,7 @@ hipblas.lib;rocblas.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/Libraries/hipBLAS/her/her_vs2022.vcxproj b/Libraries/hipBLAS/her/her_vs2022.vcxproj index 3013284e8..53a8cea22 100644 --- a/Libraries/hipBLAS/her/her_vs2022.vcxproj +++ b/Libraries/hipBLAS/her/her_vs2022.vcxproj @@ -17,6 +17,12 @@ her_vs2022 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -25,7 +31,7 @@ - + PreserveNewest @@ -41,13 +47,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -69,7 +75,10 @@ - + + true + + true @@ -86,7 +95,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -100,7 +109,7 @@ hipblas.lib;rocblas.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/Libraries/hipBLAS/scal/scal_vs2017.vcxproj b/Libraries/hipBLAS/scal/scal_vs2017.vcxproj index c9816fa7b..1faa79759 100644 --- a/Libraries/hipBLAS/scal/scal_vs2017.vcxproj +++ b/Libraries/hipBLAS/scal/scal_vs2017.vcxproj @@ -17,6 +17,12 @@ scal_vs2017 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -25,7 +31,7 @@ - + PreserveNewest @@ -41,13 +47,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -69,7 +75,10 @@ - + + true + + true @@ -86,7 +95,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -100,7 +109,7 @@ hipblas.lib;rocblas.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/Libraries/hipBLAS/scal/scal_vs2019.vcxproj b/Libraries/hipBLAS/scal/scal_vs2019.vcxproj index 162e06e49..a9049cb48 100644 --- a/Libraries/hipBLAS/scal/scal_vs2019.vcxproj +++ b/Libraries/hipBLAS/scal/scal_vs2019.vcxproj @@ -17,6 +17,12 @@ scal_vs2019 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -25,7 +31,7 @@ - + PreserveNewest @@ -41,13 +47,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -69,7 +75,10 @@ - + + true + + true @@ -86,7 +95,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -100,7 +109,7 @@ hipblas.lib;rocblas.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/Libraries/hipBLAS/scal/scal_vs2022.vcxproj b/Libraries/hipBLAS/scal/scal_vs2022.vcxproj index 8afd84e6e..a5ee0d43e 100644 --- a/Libraries/hipBLAS/scal/scal_vs2022.vcxproj +++ b/Libraries/hipBLAS/scal/scal_vs2022.vcxproj @@ -17,6 +17,12 @@ scal_vs2022 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -25,7 +31,7 @@ - + PreserveNewest @@ -41,13 +47,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -69,7 +75,10 @@ - + + true + + true @@ -86,7 +95,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -100,7 +109,7 @@ hipblas.lib;rocblas.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/Libraries/hipCUB/device_radix_sort/device_radix_sort_vs2017.vcxproj b/Libraries/hipCUB/device_radix_sort/device_radix_sort_vs2017.vcxproj index 545bc0a8d..3c85a6b40 100644 --- a/Libraries/hipCUB/device_radix_sort/device_radix_sort_vs2017.vcxproj +++ b/Libraries/hipCUB/device_radix_sort/device_radix_sort_vs2017.vcxproj @@ -17,6 +17,12 @@ device_radix_sort_vs2017 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -27,13 +33,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -55,6 +61,9 @@ + + true + true @@ -69,7 +78,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -82,7 +91,7 @@ true - + Level2 __CUDACC__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -95,7 +104,7 @@ true - + Level2 true @@ -110,7 +119,7 @@ true - + Level2 true diff --git a/Libraries/hipCUB/device_radix_sort/device_radix_sort_vs2019.vcxproj b/Libraries/hipCUB/device_radix_sort/device_radix_sort_vs2019.vcxproj index 60f6a6aa1..d3190ec3c 100644 --- a/Libraries/hipCUB/device_radix_sort/device_radix_sort_vs2019.vcxproj +++ b/Libraries/hipCUB/device_radix_sort/device_radix_sort_vs2019.vcxproj @@ -17,6 +17,12 @@ device_radix_sort_vs2019 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -27,13 +33,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -55,6 +61,9 @@ + + true + true @@ -69,7 +78,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -82,7 +91,7 @@ true - + Level2 __CUDACC__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -95,7 +104,7 @@ true - + Level2 true @@ -110,7 +119,7 @@ true - + Level2 true diff --git a/Libraries/hipCUB/device_radix_sort/device_radix_sort_vs2022.vcxproj b/Libraries/hipCUB/device_radix_sort/device_radix_sort_vs2022.vcxproj index 57371b05c..41c5526af 100644 --- a/Libraries/hipCUB/device_radix_sort/device_radix_sort_vs2022.vcxproj +++ b/Libraries/hipCUB/device_radix_sort/device_radix_sort_vs2022.vcxproj @@ -17,6 +17,12 @@ device_radix_sort_vs2022 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -27,13 +33,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -55,6 +61,9 @@ + + true + true @@ -69,7 +78,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -82,7 +91,7 @@ true - + Level2 __CUDACC__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -95,7 +104,7 @@ true - + Level2 true @@ -110,7 +119,7 @@ true - + Level2 true diff --git a/Libraries/hipCUB/device_sum/device_sum_vs2017.vcxproj b/Libraries/hipCUB/device_sum/device_sum_vs2017.vcxproj index 77fb7a21c..a5311aa75 100644 --- a/Libraries/hipCUB/device_sum/device_sum_vs2017.vcxproj +++ b/Libraries/hipCUB/device_sum/device_sum_vs2017.vcxproj @@ -17,6 +17,12 @@ device_sum_vs2017 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -27,13 +33,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -55,6 +61,9 @@ + + true + true @@ -69,7 +78,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -82,7 +91,7 @@ true - + Level2 __CUDACC__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -95,7 +104,7 @@ true - + Level2 true @@ -110,7 +119,7 @@ true - + Level2 true diff --git a/Libraries/hipCUB/device_sum/device_sum_vs2019.vcxproj b/Libraries/hipCUB/device_sum/device_sum_vs2019.vcxproj index e28eb0064..190d79a53 100644 --- a/Libraries/hipCUB/device_sum/device_sum_vs2019.vcxproj +++ b/Libraries/hipCUB/device_sum/device_sum_vs2019.vcxproj @@ -17,6 +17,12 @@ device_sum_vs2019 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -27,13 +33,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -55,6 +61,9 @@ + + true + true @@ -69,7 +78,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -82,7 +91,7 @@ true - + Level2 __CUDACC__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -95,7 +104,7 @@ true - + Level2 true @@ -110,7 +119,7 @@ true - + Level2 true diff --git a/Libraries/hipCUB/device_sum/device_sum_vs2022.vcxproj b/Libraries/hipCUB/device_sum/device_sum_vs2022.vcxproj index 210569351..ae3a296f3 100644 --- a/Libraries/hipCUB/device_sum/device_sum_vs2022.vcxproj +++ b/Libraries/hipCUB/device_sum/device_sum_vs2022.vcxproj @@ -17,6 +17,12 @@ device_sum_vs2022 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -27,13 +33,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -55,6 +61,9 @@ + + true + true @@ -69,7 +78,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -82,7 +91,7 @@ true - + Level2 __CUDACC__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -95,7 +104,7 @@ true - + Level2 true @@ -110,7 +119,7 @@ true - + Level2 true diff --git a/Libraries/hipFFT/plan_d2z/plan_d2z_vs2017.vcxproj b/Libraries/hipFFT/plan_d2z/plan_d2z_vs2017.vcxproj index 1abdf4178..6438d45c6 100644 --- a/Libraries/hipFFT/plan_d2z/plan_d2z_vs2017.vcxproj +++ b/Libraries/hipFFT/plan_d2z/plan_d2z_vs2017.vcxproj @@ -17,6 +17,12 @@ plan_d2z_vs2017 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -25,7 +31,7 @@ - + PreserveNewest @@ -46,13 +52,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -74,7 +80,10 @@ - + + true + + true @@ -91,7 +100,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -105,7 +114,7 @@ hipfft.lib;rocfft.lib;hiprtc.lib;hiprtc-builtins.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/Libraries/hipFFT/plan_d2z/plan_d2z_vs2019.vcxproj b/Libraries/hipFFT/plan_d2z/plan_d2z_vs2019.vcxproj index 7adf10b00..36ca88244 100644 --- a/Libraries/hipFFT/plan_d2z/plan_d2z_vs2019.vcxproj +++ b/Libraries/hipFFT/plan_d2z/plan_d2z_vs2019.vcxproj @@ -17,6 +17,12 @@ plan_d2z_vs2019 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -25,7 +31,7 @@ - + PreserveNewest @@ -46,13 +52,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -74,7 +80,10 @@ - + + true + + true @@ -91,7 +100,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -105,7 +114,7 @@ hipfft.lib;rocfft.lib;hiprtc.lib;hiprtc-builtins.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/Libraries/hipFFT/plan_d2z/plan_d2z_vs2022.vcxproj b/Libraries/hipFFT/plan_d2z/plan_d2z_vs2022.vcxproj index 846022681..bda7a191a 100644 --- a/Libraries/hipFFT/plan_d2z/plan_d2z_vs2022.vcxproj +++ b/Libraries/hipFFT/plan_d2z/plan_d2z_vs2022.vcxproj @@ -17,6 +17,12 @@ plan_d2z_vs2022 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -25,7 +31,7 @@ - + PreserveNewest @@ -46,13 +52,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -74,7 +80,10 @@ - + + true + + true @@ -91,7 +100,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -105,7 +114,7 @@ hipfft.lib;rocfft.lib;hiprtc.lib;hiprtc-builtins.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/Libraries/hipFFT/plan_z2z/plan_z2z_vs2017.vcxproj b/Libraries/hipFFT/plan_z2z/plan_z2z_vs2017.vcxproj index 654f9cd5d..f92f3f901 100644 --- a/Libraries/hipFFT/plan_z2z/plan_z2z_vs2017.vcxproj +++ b/Libraries/hipFFT/plan_z2z/plan_z2z_vs2017.vcxproj @@ -17,6 +17,12 @@ plan_z2z_vs2017 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -25,7 +31,7 @@ - + PreserveNewest @@ -46,13 +52,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -74,7 +80,10 @@ - + + true + + true @@ -91,7 +100,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -105,7 +114,7 @@ hipfft.lib;rocfft.lib;hiprtc.lib;hiprtc-builtins.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/Libraries/hipFFT/plan_z2z/plan_z2z_vs2019.vcxproj b/Libraries/hipFFT/plan_z2z/plan_z2z_vs2019.vcxproj index 62eaacfd9..b7a02166d 100644 --- a/Libraries/hipFFT/plan_z2z/plan_z2z_vs2019.vcxproj +++ b/Libraries/hipFFT/plan_z2z/plan_z2z_vs2019.vcxproj @@ -17,6 +17,12 @@ plan_z2z_vs2019 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -25,7 +31,7 @@ - + PreserveNewest @@ -46,13 +52,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -74,7 +80,10 @@ - + + true + + true @@ -91,7 +100,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -105,7 +114,7 @@ hipfft.lib;rocfft.lib;hiprtc.lib;hiprtc-builtins.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/Libraries/hipFFT/plan_z2z/plan_z2z_vs2022.vcxproj b/Libraries/hipFFT/plan_z2z/plan_z2z_vs2022.vcxproj index 236462ded..b597ce50a 100644 --- a/Libraries/hipFFT/plan_z2z/plan_z2z_vs2022.vcxproj +++ b/Libraries/hipFFT/plan_z2z/plan_z2z_vs2022.vcxproj @@ -17,6 +17,12 @@ plan_z2z_vs2022 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -25,7 +31,7 @@ - + PreserveNewest @@ -46,13 +52,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -74,7 +80,10 @@ - + + true + + true @@ -91,7 +100,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -105,7 +114,7 @@ hipfft.lib;rocfft.lib;hiprtc.lib;hiprtc-builtins.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/Libraries/hipSOLVER/gels/gels_vs2017.vcxproj b/Libraries/hipSOLVER/gels/gels_vs2017.vcxproj index d29475b5b..b4158c609 100644 --- a/Libraries/hipSOLVER/gels/gels_vs2017.vcxproj +++ b/Libraries/hipSOLVER/gels/gels_vs2017.vcxproj @@ -17,6 +17,12 @@ gels_vs2017 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -25,7 +31,7 @@ - + PreserveNewest @@ -47,13 +53,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -75,7 +81,10 @@ - + + true + + true @@ -92,7 +101,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -106,7 +115,7 @@ hipsolver.lib;rocblas.lib;rocsolver.lib;rocsparse.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/Libraries/hipSOLVER/gels/gels_vs2019.vcxproj b/Libraries/hipSOLVER/gels/gels_vs2019.vcxproj index 3e709951a..1e908f600 100644 --- a/Libraries/hipSOLVER/gels/gels_vs2019.vcxproj +++ b/Libraries/hipSOLVER/gels/gels_vs2019.vcxproj @@ -17,6 +17,12 @@ gels_vs2019 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -25,7 +31,7 @@ - + PreserveNewest @@ -47,13 +53,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -75,7 +81,10 @@ - + + true + + true @@ -92,7 +101,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -106,7 +115,7 @@ hipsolver.lib;rocblas.lib;rocsolver.lib;rocsparse.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/Libraries/hipSOLVER/gels/gels_vs2022.vcxproj b/Libraries/hipSOLVER/gels/gels_vs2022.vcxproj index 2336e15f2..8189299c4 100644 --- a/Libraries/hipSOLVER/gels/gels_vs2022.vcxproj +++ b/Libraries/hipSOLVER/gels/gels_vs2022.vcxproj @@ -17,6 +17,12 @@ gels_vs2022 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -25,7 +31,7 @@ - + PreserveNewest @@ -47,13 +53,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -75,7 +81,10 @@ - + + true + + true @@ -92,7 +101,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -106,7 +115,7 @@ hipsolver.lib;rocblas.lib;rocsolver.lib;rocsparse.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/Libraries/hipSOLVER/geqrf/geqrf_vs2017.vcxproj b/Libraries/hipSOLVER/geqrf/geqrf_vs2017.vcxproj index 5a377a54b..1a5058174 100644 --- a/Libraries/hipSOLVER/geqrf/geqrf_vs2017.vcxproj +++ b/Libraries/hipSOLVER/geqrf/geqrf_vs2017.vcxproj @@ -17,6 +17,12 @@ geqrf_vs2017 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -26,7 +32,7 @@ - + PreserveNewest @@ -51,13 +57,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -79,7 +85,10 @@ - + + true + + true @@ -96,7 +105,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -110,7 +119,7 @@ hipsolver.lib;rocblas.lib;rocsolver.lib;hipblas.lib;rocsparse.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/Libraries/hipSOLVER/geqrf/geqrf_vs2019.vcxproj b/Libraries/hipSOLVER/geqrf/geqrf_vs2019.vcxproj index ff3261b99..e2a9e581a 100644 --- a/Libraries/hipSOLVER/geqrf/geqrf_vs2019.vcxproj +++ b/Libraries/hipSOLVER/geqrf/geqrf_vs2019.vcxproj @@ -17,6 +17,12 @@ geqrf_vs2019 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -26,7 +32,7 @@ - + PreserveNewest @@ -51,13 +57,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -79,7 +85,10 @@ - + + true + + true @@ -96,7 +105,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -110,7 +119,7 @@ hipsolver.lib;rocblas.lib;rocsolver.lib;hipblas.lib;rocsparse.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/Libraries/hipSOLVER/geqrf/geqrf_vs2022.vcxproj b/Libraries/hipSOLVER/geqrf/geqrf_vs2022.vcxproj index e0a8f6c56..7ae974275 100644 --- a/Libraries/hipSOLVER/geqrf/geqrf_vs2022.vcxproj +++ b/Libraries/hipSOLVER/geqrf/geqrf_vs2022.vcxproj @@ -17,6 +17,12 @@ geqrf_vs2022 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -26,7 +32,7 @@ - + PreserveNewest @@ -51,13 +57,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -79,7 +85,10 @@ - + + true + + true @@ -96,7 +105,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -110,7 +119,7 @@ hipsolver.lib;rocblas.lib;rocsolver.lib;hipblas.lib;rocsparse.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/Libraries/hipSOLVER/gesvd/gesvd_vs2017.vcxproj b/Libraries/hipSOLVER/gesvd/gesvd_vs2017.vcxproj index c10a32a99..2d96b970e 100644 --- a/Libraries/hipSOLVER/gesvd/gesvd_vs2017.vcxproj +++ b/Libraries/hipSOLVER/gesvd/gesvd_vs2017.vcxproj @@ -17,6 +17,12 @@ gesvd_vs2017 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -26,7 +32,7 @@ - + PreserveNewest @@ -51,13 +57,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -79,7 +85,10 @@ - + + true + + true @@ -96,7 +105,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -110,7 +119,7 @@ hipsolver.lib;rocblas.lib;rocsolver.lib;hipblas.lib;rocsparse.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/Libraries/hipSOLVER/gesvd/gesvd_vs2019.vcxproj b/Libraries/hipSOLVER/gesvd/gesvd_vs2019.vcxproj index 40ab3f968..02739a297 100644 --- a/Libraries/hipSOLVER/gesvd/gesvd_vs2019.vcxproj +++ b/Libraries/hipSOLVER/gesvd/gesvd_vs2019.vcxproj @@ -17,6 +17,12 @@ gesvd_vs2019 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -26,7 +32,7 @@ - + PreserveNewest @@ -51,13 +57,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -79,7 +85,10 @@ - + + true + + true @@ -96,7 +105,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -110,7 +119,7 @@ hipsolver.lib;rocblas.lib;rocsolver.lib;hipblas.lib;rocsparse.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/Libraries/hipSOLVER/gesvd/gesvd_vs2022.vcxproj b/Libraries/hipSOLVER/gesvd/gesvd_vs2022.vcxproj index 9c6b303e4..86eb03bdb 100644 --- a/Libraries/hipSOLVER/gesvd/gesvd_vs2022.vcxproj +++ b/Libraries/hipSOLVER/gesvd/gesvd_vs2022.vcxproj @@ -17,6 +17,12 @@ gesvd_vs2022 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -26,7 +32,7 @@ - + PreserveNewest @@ -51,13 +57,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -79,7 +85,10 @@ - + + true + + true @@ -96,7 +105,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -110,7 +119,7 @@ hipsolver.lib;rocblas.lib;rocsolver.lib;hipblas.lib;rocsparse.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/Libraries/hipSOLVER/getrf/getrf_vs2017.vcxproj b/Libraries/hipSOLVER/getrf/getrf_vs2017.vcxproj index 8559173a0..48f43c0f7 100644 --- a/Libraries/hipSOLVER/getrf/getrf_vs2017.vcxproj +++ b/Libraries/hipSOLVER/getrf/getrf_vs2017.vcxproj @@ -17,6 +17,12 @@ getrf_vs2017 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -25,7 +31,7 @@ - + PreserveNewest @@ -47,13 +53,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -75,7 +81,10 @@ - + + true + + true @@ -92,7 +101,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -106,7 +115,7 @@ hipsolver.lib;rocblas.lib;rocsolver.lib;rocsparse.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/Libraries/hipSOLVER/getrf/getrf_vs2019.vcxproj b/Libraries/hipSOLVER/getrf/getrf_vs2019.vcxproj index d7fc0dc28..7c8c34f10 100644 --- a/Libraries/hipSOLVER/getrf/getrf_vs2019.vcxproj +++ b/Libraries/hipSOLVER/getrf/getrf_vs2019.vcxproj @@ -17,6 +17,12 @@ getrf_vs2019 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -25,7 +31,7 @@ - + PreserveNewest @@ -47,13 +53,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -75,7 +81,10 @@ - + + true + + true @@ -92,7 +101,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -106,7 +115,7 @@ hipsolver.lib;rocblas.lib;rocsolver.lib;rocsparse.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/Libraries/hipSOLVER/getrf/getrf_vs2022.vcxproj b/Libraries/hipSOLVER/getrf/getrf_vs2022.vcxproj index c7d89629a..289a2ec21 100644 --- a/Libraries/hipSOLVER/getrf/getrf_vs2022.vcxproj +++ b/Libraries/hipSOLVER/getrf/getrf_vs2022.vcxproj @@ -17,6 +17,12 @@ getrf_vs2022 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -25,7 +31,7 @@ - + PreserveNewest @@ -47,13 +53,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -75,7 +81,10 @@ - + + true + + true @@ -92,7 +101,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -106,7 +115,7 @@ hipsolver.lib;rocblas.lib;rocsolver.lib;rocsparse.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/Libraries/hipSOLVER/potrf/potrf_vs2017.vcxproj b/Libraries/hipSOLVER/potrf/potrf_vs2017.vcxproj index 11c9b4e2c..f4ffa99aa 100644 --- a/Libraries/hipSOLVER/potrf/potrf_vs2017.vcxproj +++ b/Libraries/hipSOLVER/potrf/potrf_vs2017.vcxproj @@ -17,6 +17,12 @@ potrf_vs2017 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -25,7 +31,7 @@ - + PreserveNewest @@ -47,13 +53,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -75,7 +81,10 @@ - + + true + + true @@ -92,7 +101,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -106,7 +115,7 @@ hipsolver.lib;rocblas.lib;rocsolver.lib;rocsparse.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/Libraries/hipSOLVER/potrf/potrf_vs2019.vcxproj b/Libraries/hipSOLVER/potrf/potrf_vs2019.vcxproj index 3f5facf62..1bac14926 100644 --- a/Libraries/hipSOLVER/potrf/potrf_vs2019.vcxproj +++ b/Libraries/hipSOLVER/potrf/potrf_vs2019.vcxproj @@ -17,6 +17,12 @@ potrf_vs2019 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -25,7 +31,7 @@ - + PreserveNewest @@ -47,13 +53,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -75,7 +81,10 @@ - + + true + + true @@ -92,7 +101,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -106,7 +115,7 @@ hipsolver.lib;rocblas.lib;rocsolver.lib;rocsparse.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/Libraries/hipSOLVER/potrf/potrf_vs2022.vcxproj b/Libraries/hipSOLVER/potrf/potrf_vs2022.vcxproj index 5ca71e8fc..d5093ef61 100644 --- a/Libraries/hipSOLVER/potrf/potrf_vs2022.vcxproj +++ b/Libraries/hipSOLVER/potrf/potrf_vs2022.vcxproj @@ -17,6 +17,12 @@ potrf_vs2022 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -25,7 +31,7 @@ - + PreserveNewest @@ -47,13 +53,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -75,7 +81,10 @@ - + + true + + true @@ -92,7 +101,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -106,7 +115,7 @@ hipsolver.lib;rocblas.lib;rocsolver.lib;rocsparse.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/Libraries/hipSOLVER/syevd/syevd_vs2017.vcxproj b/Libraries/hipSOLVER/syevd/syevd_vs2017.vcxproj index 2f517001b..f895a5fe7 100644 --- a/Libraries/hipSOLVER/syevd/syevd_vs2017.vcxproj +++ b/Libraries/hipSOLVER/syevd/syevd_vs2017.vcxproj @@ -17,6 +17,12 @@ syevd_vs2017 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -25,7 +31,7 @@ - + PreserveNewest @@ -47,13 +53,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -75,7 +81,10 @@ - + + true + + true @@ -92,7 +101,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -106,7 +115,7 @@ hipsolver.lib;rocblas.lib;rocsolver.lib;rocsparse.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/Libraries/hipSOLVER/syevd/syevd_vs2019.vcxproj b/Libraries/hipSOLVER/syevd/syevd_vs2019.vcxproj index 2b28f5533..8bc652bb7 100644 --- a/Libraries/hipSOLVER/syevd/syevd_vs2019.vcxproj +++ b/Libraries/hipSOLVER/syevd/syevd_vs2019.vcxproj @@ -17,6 +17,12 @@ syevd_vs2019 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -25,7 +31,7 @@ - + PreserveNewest @@ -47,13 +53,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -75,7 +81,10 @@ - + + true + + true @@ -92,7 +101,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -106,7 +115,7 @@ hipsolver.lib;rocblas.lib;rocsolver.lib;rocsparse.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/Libraries/hipSOLVER/syevd/syevd_vs2022.vcxproj b/Libraries/hipSOLVER/syevd/syevd_vs2022.vcxproj index e0b3f7d5a..7875bdbae 100644 --- a/Libraries/hipSOLVER/syevd/syevd_vs2022.vcxproj +++ b/Libraries/hipSOLVER/syevd/syevd_vs2022.vcxproj @@ -17,6 +17,12 @@ syevd_vs2022 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -25,7 +31,7 @@ - + PreserveNewest @@ -47,13 +53,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -75,7 +81,10 @@ - + + true + + true @@ -92,7 +101,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -106,7 +115,7 @@ hipsolver.lib;rocblas.lib;rocsolver.lib;rocsparse.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/Libraries/hipSOLVER/syevdx/syevdx_vs2017.vcxproj b/Libraries/hipSOLVER/syevdx/syevdx_vs2017.vcxproj index 86e54fab3..3b82c0b7f 100644 --- a/Libraries/hipSOLVER/syevdx/syevdx_vs2017.vcxproj +++ b/Libraries/hipSOLVER/syevdx/syevdx_vs2017.vcxproj @@ -17,6 +17,12 @@ syevdx_vs2017 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -25,7 +31,7 @@ - + PreserveNewest @@ -50,13 +56,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -78,7 +84,10 @@ - + + true + + true @@ -95,7 +104,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -109,7 +118,7 @@ hipsolver.lib;hipblas.lib;rocblas.lib;rocsolver.lib;rocsparse.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/Libraries/hipSOLVER/syevdx/syevdx_vs2019.vcxproj b/Libraries/hipSOLVER/syevdx/syevdx_vs2019.vcxproj index 7dfe63e48..7f90f26e6 100644 --- a/Libraries/hipSOLVER/syevdx/syevdx_vs2019.vcxproj +++ b/Libraries/hipSOLVER/syevdx/syevdx_vs2019.vcxproj @@ -17,6 +17,12 @@ syevdx_vs2019 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -25,7 +31,7 @@ - + PreserveNewest @@ -50,13 +56,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -78,7 +84,10 @@ - + + true + + true @@ -95,7 +104,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -109,7 +118,7 @@ hipsolver.lib;hipblas.lib;rocblas.lib;rocsolver.lib;rocsparse.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/Libraries/hipSOLVER/syevdx/syevdx_vs2022.vcxproj b/Libraries/hipSOLVER/syevdx/syevdx_vs2022.vcxproj index 9f4b754ba..c23b0d525 100644 --- a/Libraries/hipSOLVER/syevdx/syevdx_vs2022.vcxproj +++ b/Libraries/hipSOLVER/syevdx/syevdx_vs2022.vcxproj @@ -17,6 +17,12 @@ syevdx_vs2022 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -25,7 +31,7 @@ - + PreserveNewest @@ -50,13 +56,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -78,7 +84,10 @@ - + + true + + true @@ -95,7 +104,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -109,7 +118,7 @@ hipsolver.lib;hipblas.lib;rocblas.lib;rocsolver.lib;rocsparse.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/Libraries/hipSOLVER/syevj/syevj_vs2017.vcxproj b/Libraries/hipSOLVER/syevj/syevj_vs2017.vcxproj index 3a07d443f..9ef8bc115 100644 --- a/Libraries/hipSOLVER/syevj/syevj_vs2017.vcxproj +++ b/Libraries/hipSOLVER/syevj/syevj_vs2017.vcxproj @@ -17,6 +17,12 @@ syevj_vs2017 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -25,7 +31,7 @@ - + PreserveNewest @@ -47,13 +53,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -75,7 +81,10 @@ - + + true + + true @@ -92,7 +101,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -106,7 +115,7 @@ hipsolver.lib;rocblas.lib;rocsolver.lib;rocsparse.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/Libraries/hipSOLVER/syevj/syevj_vs2019.vcxproj b/Libraries/hipSOLVER/syevj/syevj_vs2019.vcxproj index 7e3db4fc0..799bb8ac9 100644 --- a/Libraries/hipSOLVER/syevj/syevj_vs2019.vcxproj +++ b/Libraries/hipSOLVER/syevj/syevj_vs2019.vcxproj @@ -17,6 +17,12 @@ syevj_vs2019 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -25,7 +31,7 @@ - + PreserveNewest @@ -47,13 +53,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -75,7 +81,10 @@ - + + true + + true @@ -92,7 +101,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -106,7 +115,7 @@ hipsolver.lib;rocblas.lib;rocsolver.lib;rocsparse.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/Libraries/hipSOLVER/syevj/syevj_vs2022.vcxproj b/Libraries/hipSOLVER/syevj/syevj_vs2022.vcxproj index 0c3fc599b..648efdacd 100644 --- a/Libraries/hipSOLVER/syevj/syevj_vs2022.vcxproj +++ b/Libraries/hipSOLVER/syevj/syevj_vs2022.vcxproj @@ -17,6 +17,12 @@ syevj_vs2022 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -25,7 +31,7 @@ - + PreserveNewest @@ -47,13 +53,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -75,7 +81,10 @@ - + + true + + true @@ -92,7 +101,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -106,7 +115,7 @@ hipsolver.lib;rocblas.lib;rocsolver.lib;rocsparse.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/Libraries/hipSOLVER/syevj_batched/syevj_batched_vs2017.vcxproj b/Libraries/hipSOLVER/syevj_batched/syevj_batched_vs2017.vcxproj index 879a89bec..a4226c7d9 100644 --- a/Libraries/hipSOLVER/syevj_batched/syevj_batched_vs2017.vcxproj +++ b/Libraries/hipSOLVER/syevj_batched/syevj_batched_vs2017.vcxproj @@ -17,6 +17,12 @@ syevj_batched_vs2017 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -26,7 +32,7 @@ - + PreserveNewest @@ -51,13 +57,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -79,7 +85,10 @@ - + + true + + true @@ -96,7 +105,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -110,7 +119,7 @@ hipsolver.lib;hipblas.lib;rocblas.lib;rocsolver.lib;rocsparse.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/Libraries/hipSOLVER/syevj_batched/syevj_batched_vs2019.vcxproj b/Libraries/hipSOLVER/syevj_batched/syevj_batched_vs2019.vcxproj index 4c0b04b04..6ae941014 100644 --- a/Libraries/hipSOLVER/syevj_batched/syevj_batched_vs2019.vcxproj +++ b/Libraries/hipSOLVER/syevj_batched/syevj_batched_vs2019.vcxproj @@ -17,6 +17,12 @@ syevj_batched_vs2019 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -26,7 +32,7 @@ - + PreserveNewest @@ -51,13 +57,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -79,7 +85,10 @@ - + + true + + true @@ -96,7 +105,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -110,7 +119,7 @@ hipsolver.lib;hipblas.lib;rocblas.lib;rocsolver.lib;rocsparse.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/Libraries/hipSOLVER/syevj_batched/syevj_batched_vs2022.vcxproj b/Libraries/hipSOLVER/syevj_batched/syevj_batched_vs2022.vcxproj index cd2a3f186..4c13e34a5 100644 --- a/Libraries/hipSOLVER/syevj_batched/syevj_batched_vs2022.vcxproj +++ b/Libraries/hipSOLVER/syevj_batched/syevj_batched_vs2022.vcxproj @@ -17,6 +17,12 @@ syevj_batched_vs2022 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -26,7 +32,7 @@ - + PreserveNewest @@ -51,13 +57,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -79,7 +85,10 @@ - + + true + + true @@ -96,7 +105,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -110,7 +119,7 @@ hipsolver.lib;hipblas.lib;rocblas.lib;rocsolver.lib;rocsparse.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/Libraries/hipSOLVER/sygvd/sygvd_vs2017.vcxproj b/Libraries/hipSOLVER/sygvd/sygvd_vs2017.vcxproj index 486c920b5..dff85a341 100644 --- a/Libraries/hipSOLVER/sygvd/sygvd_vs2017.vcxproj +++ b/Libraries/hipSOLVER/sygvd/sygvd_vs2017.vcxproj @@ -17,6 +17,12 @@ sygvd_vs2017 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -25,7 +31,7 @@ - + PreserveNewest @@ -50,13 +56,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -78,7 +84,10 @@ - + + true + + true @@ -95,7 +104,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -109,7 +118,7 @@ hipsolver.lib;rocblas.lib;rocsolver.lib;hipblas.lib;rocsparse.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/Libraries/hipSOLVER/sygvd/sygvd_vs2019.vcxproj b/Libraries/hipSOLVER/sygvd/sygvd_vs2019.vcxproj index 570a4c314..c306a7b06 100644 --- a/Libraries/hipSOLVER/sygvd/sygvd_vs2019.vcxproj +++ b/Libraries/hipSOLVER/sygvd/sygvd_vs2019.vcxproj @@ -17,6 +17,12 @@ sygvd_vs2019 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -25,7 +31,7 @@ - + PreserveNewest @@ -50,13 +56,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -78,7 +84,10 @@ - + + true + + true @@ -95,7 +104,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -109,7 +118,7 @@ hipsolver.lib;rocblas.lib;rocsolver.lib;hipblas.lib;rocsparse.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/Libraries/hipSOLVER/sygvd/sygvd_vs2022.vcxproj b/Libraries/hipSOLVER/sygvd/sygvd_vs2022.vcxproj index db951b909..90b82c34d 100644 --- a/Libraries/hipSOLVER/sygvd/sygvd_vs2022.vcxproj +++ b/Libraries/hipSOLVER/sygvd/sygvd_vs2022.vcxproj @@ -17,6 +17,12 @@ sygvd_vs2022 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -25,7 +31,7 @@ - + PreserveNewest @@ -50,13 +56,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -78,7 +84,10 @@ - + + true + + true @@ -95,7 +104,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -109,7 +118,7 @@ hipsolver.lib;rocblas.lib;rocsolver.lib;hipblas.lib;rocsparse.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/Libraries/hipSOLVER/sygvj/sygvj_vs2017.vcxproj b/Libraries/hipSOLVER/sygvj/sygvj_vs2017.vcxproj index 605e5d597..8d5475229 100644 --- a/Libraries/hipSOLVER/sygvj/sygvj_vs2017.vcxproj +++ b/Libraries/hipSOLVER/sygvj/sygvj_vs2017.vcxproj @@ -17,6 +17,12 @@ sygvj_vs2017 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -24,7 +30,7 @@ - + PreserveNewest @@ -46,13 +52,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -74,7 +80,10 @@ - + + true + + true @@ -91,7 +100,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -105,7 +114,7 @@ hipsolver.lib;rocblas.lib;rocsolver.lib;rocsparse.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/Libraries/hipSOLVER/sygvj/sygvj_vs2019.vcxproj b/Libraries/hipSOLVER/sygvj/sygvj_vs2019.vcxproj index 884b121e1..a5f53bbcf 100644 --- a/Libraries/hipSOLVER/sygvj/sygvj_vs2019.vcxproj +++ b/Libraries/hipSOLVER/sygvj/sygvj_vs2019.vcxproj @@ -17,6 +17,12 @@ sygvj_vs2019 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -24,7 +30,7 @@ - + PreserveNewest @@ -46,13 +52,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -74,7 +80,10 @@ - + + true + + true @@ -91,7 +100,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -105,7 +114,7 @@ hipsolver.lib;rocblas.lib;rocsolver.lib;rocsparse.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/Libraries/hipSOLVER/sygvj/sygvj_vs2022.vcxproj b/Libraries/hipSOLVER/sygvj/sygvj_vs2022.vcxproj index 7248dc42c..f4fa15d10 100644 --- a/Libraries/hipSOLVER/sygvj/sygvj_vs2022.vcxproj +++ b/Libraries/hipSOLVER/sygvj/sygvj_vs2022.vcxproj @@ -17,6 +17,12 @@ sygvj_vs2022 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -24,7 +30,7 @@ - + PreserveNewest @@ -46,13 +52,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -74,7 +80,10 @@ - + + true + + true @@ -91,7 +100,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -105,7 +114,7 @@ hipsolver.lib;rocblas.lib;rocsolver.lib;rocsparse.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/Libraries/rocBLAS/level_1/axpy/axpy_vs2017.vcxproj b/Libraries/rocBLAS/level_1/axpy/axpy_vs2017.vcxproj index 8ccfcc298..ab20f4644 100644 --- a/Libraries/rocBLAS/level_1/axpy/axpy_vs2017.vcxproj +++ b/Libraries/rocBLAS/level_1/axpy/axpy_vs2017.vcxproj @@ -17,6 +17,12 @@ axpy_vs2017 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -25,7 +31,7 @@ - + PreserveNewest @@ -38,13 +44,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -66,7 +72,10 @@ - + + true + + true @@ -83,7 +92,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -97,7 +106,7 @@ rocblas.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/Libraries/rocBLAS/level_1/axpy/axpy_vs2019.vcxproj b/Libraries/rocBLAS/level_1/axpy/axpy_vs2019.vcxproj index 552389d5a..c9d573575 100644 --- a/Libraries/rocBLAS/level_1/axpy/axpy_vs2019.vcxproj +++ b/Libraries/rocBLAS/level_1/axpy/axpy_vs2019.vcxproj @@ -17,6 +17,12 @@ axpy_vs2019 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -25,7 +31,7 @@ - + PreserveNewest @@ -38,13 +44,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -66,7 +72,10 @@ - + + true + + true @@ -83,7 +92,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -97,7 +106,7 @@ rocblas.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/Libraries/rocBLAS/level_1/axpy/axpy_vs2022.vcxproj b/Libraries/rocBLAS/level_1/axpy/axpy_vs2022.vcxproj index b480cfc5c..e4334796b 100644 --- a/Libraries/rocBLAS/level_1/axpy/axpy_vs2022.vcxproj +++ b/Libraries/rocBLAS/level_1/axpy/axpy_vs2022.vcxproj @@ -17,6 +17,12 @@ axpy_vs2022 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -25,7 +31,7 @@ - + PreserveNewest @@ -38,13 +44,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -66,7 +72,10 @@ - + + true + + true @@ -83,7 +92,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -97,7 +106,7 @@ rocblas.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/Libraries/rocBLAS/level_1/dot/dot_vs2017.vcxproj b/Libraries/rocBLAS/level_1/dot/dot_vs2017.vcxproj index 84fccff79..d38f16ad0 100644 --- a/Libraries/rocBLAS/level_1/dot/dot_vs2017.vcxproj +++ b/Libraries/rocBLAS/level_1/dot/dot_vs2017.vcxproj @@ -17,6 +17,12 @@ dot_vs2017 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -25,7 +31,7 @@ - + PreserveNewest @@ -38,13 +44,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -66,7 +72,10 @@ - + + true + + true @@ -83,7 +92,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -97,7 +106,7 @@ rocblas.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/Libraries/rocBLAS/level_1/dot/dot_vs2019.vcxproj b/Libraries/rocBLAS/level_1/dot/dot_vs2019.vcxproj index 4bb470609..e6f0990a6 100644 --- a/Libraries/rocBLAS/level_1/dot/dot_vs2019.vcxproj +++ b/Libraries/rocBLAS/level_1/dot/dot_vs2019.vcxproj @@ -17,6 +17,12 @@ dot_vs2019 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -25,7 +31,7 @@ - + PreserveNewest @@ -38,13 +44,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -66,7 +72,10 @@ - + + true + + true @@ -83,7 +92,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -97,7 +106,7 @@ rocblas.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/Libraries/rocBLAS/level_1/dot/dot_vs2022.vcxproj b/Libraries/rocBLAS/level_1/dot/dot_vs2022.vcxproj index b824bfed3..0707f6987 100644 --- a/Libraries/rocBLAS/level_1/dot/dot_vs2022.vcxproj +++ b/Libraries/rocBLAS/level_1/dot/dot_vs2022.vcxproj @@ -17,6 +17,12 @@ dot_vs2022 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -25,7 +31,7 @@ - + PreserveNewest @@ -38,13 +44,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -66,7 +72,10 @@ - + + true + + true @@ -83,7 +92,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -97,7 +106,7 @@ rocblas.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/Libraries/rocBLAS/level_1/nrm2/nrm2_vs2017.vcxproj b/Libraries/rocBLAS/level_1/nrm2/nrm2_vs2017.vcxproj index 55e2d4b8d..89013ad15 100644 --- a/Libraries/rocBLAS/level_1/nrm2/nrm2_vs2017.vcxproj +++ b/Libraries/rocBLAS/level_1/nrm2/nrm2_vs2017.vcxproj @@ -17,6 +17,12 @@ nrm2_vs2017 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -25,7 +31,7 @@ - + PreserveNewest @@ -38,13 +44,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -66,7 +72,10 @@ - + + true + + true @@ -83,7 +92,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -97,7 +106,7 @@ rocblas.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/Libraries/rocBLAS/level_1/nrm2/nrm2_vs2019.vcxproj b/Libraries/rocBLAS/level_1/nrm2/nrm2_vs2019.vcxproj index 31d45c4fd..adf313a4f 100644 --- a/Libraries/rocBLAS/level_1/nrm2/nrm2_vs2019.vcxproj +++ b/Libraries/rocBLAS/level_1/nrm2/nrm2_vs2019.vcxproj @@ -17,6 +17,12 @@ nrm2_vs2019 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -25,7 +31,7 @@ - + PreserveNewest @@ -38,13 +44,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -66,7 +72,10 @@ - + + true + + true @@ -83,7 +92,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -97,7 +106,7 @@ rocblas.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/Libraries/rocBLAS/level_1/nrm2/nrm2_vs2022.vcxproj b/Libraries/rocBLAS/level_1/nrm2/nrm2_vs2022.vcxproj index 458c346a5..2e475b630 100644 --- a/Libraries/rocBLAS/level_1/nrm2/nrm2_vs2022.vcxproj +++ b/Libraries/rocBLAS/level_1/nrm2/nrm2_vs2022.vcxproj @@ -17,6 +17,12 @@ nrm2_vs2022 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -25,7 +31,7 @@ - + PreserveNewest @@ -38,13 +44,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -66,7 +72,10 @@ - + + true + + true @@ -83,7 +92,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -97,7 +106,7 @@ rocblas.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/Libraries/rocBLAS/level_1/scal/scal_vs2017.vcxproj b/Libraries/rocBLAS/level_1/scal/scal_vs2017.vcxproj index cf00888fd..962c2be8a 100644 --- a/Libraries/rocBLAS/level_1/scal/scal_vs2017.vcxproj +++ b/Libraries/rocBLAS/level_1/scal/scal_vs2017.vcxproj @@ -17,6 +17,12 @@ scal_vs2017 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -25,7 +31,7 @@ - + PreserveNewest @@ -38,13 +44,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -66,7 +72,10 @@ - + + true + + true @@ -83,7 +92,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -97,7 +106,7 @@ rocblas.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/Libraries/rocBLAS/level_1/scal/scal_vs2019.vcxproj b/Libraries/rocBLAS/level_1/scal/scal_vs2019.vcxproj index 4e5536127..e1bb73933 100644 --- a/Libraries/rocBLAS/level_1/scal/scal_vs2019.vcxproj +++ b/Libraries/rocBLAS/level_1/scal/scal_vs2019.vcxproj @@ -17,6 +17,12 @@ scal_vs2019 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -25,7 +31,7 @@ - + PreserveNewest @@ -38,13 +44,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -66,7 +72,10 @@ - + + true + + true @@ -83,7 +92,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -97,7 +106,7 @@ rocblas.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/Libraries/rocBLAS/level_1/scal/scal_vs2022.vcxproj b/Libraries/rocBLAS/level_1/scal/scal_vs2022.vcxproj index 143496eeb..d8d129dcd 100644 --- a/Libraries/rocBLAS/level_1/scal/scal_vs2022.vcxproj +++ b/Libraries/rocBLAS/level_1/scal/scal_vs2022.vcxproj @@ -17,6 +17,12 @@ scal_vs2022 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -25,7 +31,7 @@ - + PreserveNewest @@ -38,13 +44,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -66,7 +72,10 @@ - + + true + + true @@ -83,7 +92,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -97,7 +106,7 @@ rocblas.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/Libraries/rocBLAS/level_1/swap/swap_vs2017.vcxproj b/Libraries/rocBLAS/level_1/swap/swap_vs2017.vcxproj index b63955466..23223a27b 100644 --- a/Libraries/rocBLAS/level_1/swap/swap_vs2017.vcxproj +++ b/Libraries/rocBLAS/level_1/swap/swap_vs2017.vcxproj @@ -17,6 +17,12 @@ swap_vs2017 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -25,7 +31,7 @@ - + PreserveNewest @@ -38,13 +44,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -66,7 +72,10 @@ - + + true + + true @@ -83,7 +92,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -97,7 +106,7 @@ rocblas.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/Libraries/rocBLAS/level_1/swap/swap_vs2019.vcxproj b/Libraries/rocBLAS/level_1/swap/swap_vs2019.vcxproj index 3068cc000..c0482e132 100644 --- a/Libraries/rocBLAS/level_1/swap/swap_vs2019.vcxproj +++ b/Libraries/rocBLAS/level_1/swap/swap_vs2019.vcxproj @@ -17,6 +17,12 @@ swap_vs2019 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -25,7 +31,7 @@ - + PreserveNewest @@ -38,13 +44,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -66,7 +72,10 @@ - + + true + + true @@ -83,7 +92,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -97,7 +106,7 @@ rocblas.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/Libraries/rocBLAS/level_1/swap/swap_vs2022.vcxproj b/Libraries/rocBLAS/level_1/swap/swap_vs2022.vcxproj index 88ecd347e..33f15cf59 100644 --- a/Libraries/rocBLAS/level_1/swap/swap_vs2022.vcxproj +++ b/Libraries/rocBLAS/level_1/swap/swap_vs2022.vcxproj @@ -17,6 +17,12 @@ swap_vs2022 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -25,7 +31,7 @@ - + PreserveNewest @@ -38,13 +44,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -66,7 +72,10 @@ - + + true + + true @@ -83,7 +92,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -97,7 +106,7 @@ rocblas.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/Libraries/rocBLAS/level_2/gemv/gemv_vs2017.vcxproj b/Libraries/rocBLAS/level_2/gemv/gemv_vs2017.vcxproj index 4ba2f61dd..7214918a7 100644 --- a/Libraries/rocBLAS/level_2/gemv/gemv_vs2017.vcxproj +++ b/Libraries/rocBLAS/level_2/gemv/gemv_vs2017.vcxproj @@ -17,6 +17,12 @@ gemv_vs2017 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -25,7 +31,7 @@ - + PreserveNewest @@ -38,13 +44,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -66,7 +72,10 @@ - + + true + + true @@ -83,7 +92,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -97,7 +106,7 @@ rocblas.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/Libraries/rocBLAS/level_2/gemv/gemv_vs2019.vcxproj b/Libraries/rocBLAS/level_2/gemv/gemv_vs2019.vcxproj index abeb3c1ba..6ccde3a13 100644 --- a/Libraries/rocBLAS/level_2/gemv/gemv_vs2019.vcxproj +++ b/Libraries/rocBLAS/level_2/gemv/gemv_vs2019.vcxproj @@ -17,6 +17,12 @@ gemv_vs2019 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -25,7 +31,7 @@ - + PreserveNewest @@ -38,13 +44,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -66,7 +72,10 @@ - + + true + + true @@ -83,7 +92,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -97,7 +106,7 @@ rocblas.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/Libraries/rocBLAS/level_2/gemv/gemv_vs2022.vcxproj b/Libraries/rocBLAS/level_2/gemv/gemv_vs2022.vcxproj index 3c7d9df0c..7738403d9 100644 --- a/Libraries/rocBLAS/level_2/gemv/gemv_vs2022.vcxproj +++ b/Libraries/rocBLAS/level_2/gemv/gemv_vs2022.vcxproj @@ -17,6 +17,12 @@ gemv_vs2022 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -25,7 +31,7 @@ - + PreserveNewest @@ -38,13 +44,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -66,7 +72,10 @@ - + + true + + true @@ -83,7 +92,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -97,7 +106,7 @@ rocblas.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/Libraries/rocBLAS/level_2/her/her_vs2017.vcxproj b/Libraries/rocBLAS/level_2/her/her_vs2017.vcxproj index bb4a0d7bc..18dadec39 100644 --- a/Libraries/rocBLAS/level_2/her/her_vs2017.vcxproj +++ b/Libraries/rocBLAS/level_2/her/her_vs2017.vcxproj @@ -17,6 +17,12 @@ her_vs2017 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -25,7 +31,7 @@ - + PreserveNewest @@ -38,13 +44,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -66,7 +72,10 @@ - + + true + + true @@ -83,7 +92,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -97,7 +106,7 @@ rocblas.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/Libraries/rocBLAS/level_2/her/her_vs2019.vcxproj b/Libraries/rocBLAS/level_2/her/her_vs2019.vcxproj index 235ae7f6e..5f537af4b 100644 --- a/Libraries/rocBLAS/level_2/her/her_vs2019.vcxproj +++ b/Libraries/rocBLAS/level_2/her/her_vs2019.vcxproj @@ -17,6 +17,12 @@ her_vs2019 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -25,7 +31,7 @@ - + PreserveNewest @@ -38,13 +44,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -66,7 +72,10 @@ - + + true + + true @@ -83,7 +92,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -97,7 +106,7 @@ rocblas.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/Libraries/rocBLAS/level_2/her/her_vs2022.vcxproj b/Libraries/rocBLAS/level_2/her/her_vs2022.vcxproj index 6f03e6d50..8b874f5f1 100644 --- a/Libraries/rocBLAS/level_2/her/her_vs2022.vcxproj +++ b/Libraries/rocBLAS/level_2/her/her_vs2022.vcxproj @@ -17,6 +17,12 @@ her_vs2022 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -25,7 +31,7 @@ - + PreserveNewest @@ -38,13 +44,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -66,7 +72,10 @@ - + + true + + true @@ -83,7 +92,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -97,7 +106,7 @@ rocblas.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/Libraries/rocBLAS/level_3/gemm/gemm_vs2017.vcxproj b/Libraries/rocBLAS/level_3/gemm/gemm_vs2017.vcxproj index 06194267e..105513b88 100644 --- a/Libraries/rocBLAS/level_3/gemm/gemm_vs2017.vcxproj +++ b/Libraries/rocBLAS/level_3/gemm/gemm_vs2017.vcxproj @@ -17,6 +17,12 @@ gemm_vs2017 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -25,7 +31,7 @@ - + PreserveNewest @@ -38,13 +44,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -66,7 +72,10 @@ - + + true + + true @@ -83,7 +92,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -97,7 +106,7 @@ rocblas.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/Libraries/rocBLAS/level_3/gemm/gemm_vs2019.vcxproj b/Libraries/rocBLAS/level_3/gemm/gemm_vs2019.vcxproj index 928ac2deb..6113ce50c 100644 --- a/Libraries/rocBLAS/level_3/gemm/gemm_vs2019.vcxproj +++ b/Libraries/rocBLAS/level_3/gemm/gemm_vs2019.vcxproj @@ -17,6 +17,12 @@ gemm_vs2019 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -25,7 +31,7 @@ - + PreserveNewest @@ -38,13 +44,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -66,7 +72,10 @@ - + + true + + true @@ -83,7 +92,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -97,7 +106,7 @@ rocblas.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/Libraries/rocBLAS/level_3/gemm/gemm_vs2022.vcxproj b/Libraries/rocBLAS/level_3/gemm/gemm_vs2022.vcxproj index efef1260f..850286d4a 100644 --- a/Libraries/rocBLAS/level_3/gemm/gemm_vs2022.vcxproj +++ b/Libraries/rocBLAS/level_3/gemm/gemm_vs2022.vcxproj @@ -17,6 +17,12 @@ gemm_vs2022 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -25,7 +31,7 @@ - + PreserveNewest @@ -38,13 +44,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -66,7 +72,10 @@ - + + true + + true @@ -83,7 +92,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -97,7 +106,7 @@ rocblas.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/Libraries/rocBLAS/level_3/gemm_strided_batched/gemm_strided_batched_vs2017.vcxproj b/Libraries/rocBLAS/level_3/gemm_strided_batched/gemm_strided_batched_vs2017.vcxproj index 67b502919..839f8d720 100644 --- a/Libraries/rocBLAS/level_3/gemm_strided_batched/gemm_strided_batched_vs2017.vcxproj +++ b/Libraries/rocBLAS/level_3/gemm_strided_batched/gemm_strided_batched_vs2017.vcxproj @@ -17,6 +17,12 @@ gemm_strided_batched_vs2017 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -25,7 +31,7 @@ - + PreserveNewest @@ -38,13 +44,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -66,7 +72,10 @@ - + + true + + true @@ -83,7 +92,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -97,7 +106,7 @@ rocblas.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/Libraries/rocBLAS/level_3/gemm_strided_batched/gemm_strided_batched_vs2019.vcxproj b/Libraries/rocBLAS/level_3/gemm_strided_batched/gemm_strided_batched_vs2019.vcxproj index f416c57d4..fbe9f0816 100644 --- a/Libraries/rocBLAS/level_3/gemm_strided_batched/gemm_strided_batched_vs2019.vcxproj +++ b/Libraries/rocBLAS/level_3/gemm_strided_batched/gemm_strided_batched_vs2019.vcxproj @@ -17,6 +17,12 @@ gemm_strided_batched_vs2019 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -25,7 +31,7 @@ - + PreserveNewest @@ -38,13 +44,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -66,7 +72,10 @@ - + + true + + true @@ -83,7 +92,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -97,7 +106,7 @@ rocblas.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/Libraries/rocBLAS/level_3/gemm_strided_batched/gemm_strided_batched_vs2022.vcxproj b/Libraries/rocBLAS/level_3/gemm_strided_batched/gemm_strided_batched_vs2022.vcxproj index cb69d4ee4..7d6ad618a 100644 --- a/Libraries/rocBLAS/level_3/gemm_strided_batched/gemm_strided_batched_vs2022.vcxproj +++ b/Libraries/rocBLAS/level_3/gemm_strided_batched/gemm_strided_batched_vs2022.vcxproj @@ -17,6 +17,12 @@ gemm_strided_batched_vs2022 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -25,7 +31,7 @@ - + PreserveNewest @@ -38,13 +44,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -66,7 +72,10 @@ - + + true + + true @@ -83,7 +92,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -97,7 +106,7 @@ rocblas.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/Libraries/rocFFT/callback/callback_vs2017.vcxproj b/Libraries/rocFFT/callback/callback_vs2017.vcxproj index 1bef970df..2851b84a0 100644 --- a/Libraries/rocFFT/callback/callback_vs2017.vcxproj +++ b/Libraries/rocFFT/callback/callback_vs2017.vcxproj @@ -17,6 +17,12 @@ callback_vs2017 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -24,7 +30,7 @@ - + PreserveNewest @@ -42,13 +48,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -70,7 +76,10 @@ - + + true + + true @@ -87,7 +96,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -101,7 +110,7 @@ rocfft.lib;hiprtc.lib;hiprtc-builtins.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/Libraries/rocFFT/callback/callback_vs2019.vcxproj b/Libraries/rocFFT/callback/callback_vs2019.vcxproj index b2b892e5d..f6dfedf0c 100644 --- a/Libraries/rocFFT/callback/callback_vs2019.vcxproj +++ b/Libraries/rocFFT/callback/callback_vs2019.vcxproj @@ -17,6 +17,12 @@ callback_vs2019 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -24,7 +30,7 @@ - + PreserveNewest @@ -42,13 +48,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -70,7 +76,10 @@ - + + true + + true @@ -87,7 +96,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -101,7 +110,7 @@ rocfft.lib;hiprtc.lib;hiprtc-builtins.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/Libraries/rocFFT/callback/callback_vs2022.vcxproj b/Libraries/rocFFT/callback/callback_vs2022.vcxproj index d91f18f5c..966f75dde 100644 --- a/Libraries/rocFFT/callback/callback_vs2022.vcxproj +++ b/Libraries/rocFFT/callback/callback_vs2022.vcxproj @@ -17,6 +17,12 @@ callback_vs2022 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -24,7 +30,7 @@ - + PreserveNewest @@ -42,13 +48,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -70,7 +76,10 @@ - + + true + + true @@ -87,7 +96,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -101,7 +110,7 @@ rocfft.lib;hiprtc.lib;hiprtc-builtins.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/Libraries/rocFFT/multi_gpu/multi_gpu_vs2017.vcxproj b/Libraries/rocFFT/multi_gpu/multi_gpu_vs2017.vcxproj index be0e99f80..e5497253c 100644 --- a/Libraries/rocFFT/multi_gpu/multi_gpu_vs2017.vcxproj +++ b/Libraries/rocFFT/multi_gpu/multi_gpu_vs2017.vcxproj @@ -17,6 +17,12 @@ multi_gpu_vs2017 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -25,7 +31,7 @@ - + PreserveNewest @@ -43,13 +49,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -71,7 +77,10 @@ - + + true + + true @@ -88,7 +97,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -102,7 +111,7 @@ rocfft.lib;hiprtc.lib;hiprtc-builtins.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/Libraries/rocFFT/multi_gpu/multi_gpu_vs2019.vcxproj b/Libraries/rocFFT/multi_gpu/multi_gpu_vs2019.vcxproj index af3964f2f..f80070720 100644 --- a/Libraries/rocFFT/multi_gpu/multi_gpu_vs2019.vcxproj +++ b/Libraries/rocFFT/multi_gpu/multi_gpu_vs2019.vcxproj @@ -17,6 +17,12 @@ multi_gpu_vs2019 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -25,7 +31,7 @@ - + PreserveNewest @@ -43,13 +49,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -71,7 +77,10 @@ - + + true + + true @@ -88,7 +97,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -102,7 +111,7 @@ rocfft.lib;hiprtc.lib;hiprtc-builtins.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/Libraries/rocFFT/multi_gpu/multi_gpu_vs2022.vcxproj b/Libraries/rocFFT/multi_gpu/multi_gpu_vs2022.vcxproj index 2ec1d5ed7..045535b5a 100644 --- a/Libraries/rocFFT/multi_gpu/multi_gpu_vs2022.vcxproj +++ b/Libraries/rocFFT/multi_gpu/multi_gpu_vs2022.vcxproj @@ -17,6 +17,12 @@ multi_gpu_vs2022 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -25,7 +31,7 @@ - + PreserveNewest @@ -43,13 +49,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -71,7 +77,10 @@ - + + true + + true @@ -88,7 +97,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -102,7 +111,7 @@ rocfft.lib;hiprtc.lib;hiprtc-builtins.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/Libraries/rocPRIM/block_sum/block_sum_vs2017.vcxproj b/Libraries/rocPRIM/block_sum/block_sum_vs2017.vcxproj index 98103d08b..a7550c601 100644 --- a/Libraries/rocPRIM/block_sum/block_sum_vs2017.vcxproj +++ b/Libraries/rocPRIM/block_sum/block_sum_vs2017.vcxproj @@ -17,6 +17,12 @@ block_sum_vs2017 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -27,13 +33,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -55,7 +61,10 @@ - + + true + + true @@ -72,7 +81,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -85,7 +94,7 @@ true - + Level2 true diff --git a/Libraries/rocPRIM/block_sum/block_sum_vs2019.vcxproj b/Libraries/rocPRIM/block_sum/block_sum_vs2019.vcxproj index 9e05b2e66..4c7870e3a 100644 --- a/Libraries/rocPRIM/block_sum/block_sum_vs2019.vcxproj +++ b/Libraries/rocPRIM/block_sum/block_sum_vs2019.vcxproj @@ -17,6 +17,12 @@ block_sum_vs2019 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -27,13 +33,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -55,7 +61,10 @@ - + + true + + true @@ -72,7 +81,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -85,7 +94,7 @@ true - + Level2 true diff --git a/Libraries/rocPRIM/block_sum/block_sum_vs2022.vcxproj b/Libraries/rocPRIM/block_sum/block_sum_vs2022.vcxproj index d95ca930e..9435c76a4 100644 --- a/Libraries/rocPRIM/block_sum/block_sum_vs2022.vcxproj +++ b/Libraries/rocPRIM/block_sum/block_sum_vs2022.vcxproj @@ -17,6 +17,12 @@ block_sum_vs2022 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -27,13 +33,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -55,7 +61,10 @@ - + + true + + true @@ -72,7 +81,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -85,7 +94,7 @@ true - + Level2 true diff --git a/Libraries/rocPRIM/device_sum/device_sum_vs2017.vcxproj b/Libraries/rocPRIM/device_sum/device_sum_vs2017.vcxproj index edd07f507..2d0884a4b 100644 --- a/Libraries/rocPRIM/device_sum/device_sum_vs2017.vcxproj +++ b/Libraries/rocPRIM/device_sum/device_sum_vs2017.vcxproj @@ -17,6 +17,12 @@ device_sum_vs2017 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -27,13 +33,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -55,7 +61,10 @@ - + + true + + true @@ -72,7 +81,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -85,7 +94,7 @@ true - + Level2 true diff --git a/Libraries/rocPRIM/device_sum/device_sum_vs2019.vcxproj b/Libraries/rocPRIM/device_sum/device_sum_vs2019.vcxproj index d275ec354..90025609b 100644 --- a/Libraries/rocPRIM/device_sum/device_sum_vs2019.vcxproj +++ b/Libraries/rocPRIM/device_sum/device_sum_vs2019.vcxproj @@ -17,6 +17,12 @@ device_sum_vs2019 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -27,13 +33,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -55,7 +61,10 @@ - + + true + + true @@ -72,7 +81,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -85,7 +94,7 @@ true - + Level2 true diff --git a/Libraries/rocPRIM/device_sum/device_sum_vs2022.vcxproj b/Libraries/rocPRIM/device_sum/device_sum_vs2022.vcxproj index 4c4db59d5..38f6da0ac 100644 --- a/Libraries/rocPRIM/device_sum/device_sum_vs2022.vcxproj +++ b/Libraries/rocPRIM/device_sum/device_sum_vs2022.vcxproj @@ -17,6 +17,12 @@ device_sum_vs2022 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -27,13 +33,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -55,7 +61,10 @@ - + + true + + true @@ -72,7 +81,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -85,7 +94,7 @@ true - + Level2 true diff --git a/Libraries/rocRAND/simple_distributions_cpp/simple_distributions_cpp_vs2017.vcxproj b/Libraries/rocRAND/simple_distributions_cpp/simple_distributions_cpp_vs2017.vcxproj index 86b666c1a..fa6919e3e 100644 --- a/Libraries/rocRAND/simple_distributions_cpp/simple_distributions_cpp_vs2017.vcxproj +++ b/Libraries/rocRAND/simple_distributions_cpp/simple_distributions_cpp_vs2017.vcxproj @@ -17,6 +17,12 @@ simple_distributions_cpp_vs2017 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -24,7 +30,7 @@ - + PreserveNewest @@ -33,13 +39,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -61,7 +67,10 @@ - + + true + + true @@ -78,7 +87,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -92,7 +101,7 @@ rocrand.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/Libraries/rocRAND/simple_distributions_cpp/simple_distributions_cpp_vs2019.vcxproj b/Libraries/rocRAND/simple_distributions_cpp/simple_distributions_cpp_vs2019.vcxproj index 7325e18f7..9b4b78818 100644 --- a/Libraries/rocRAND/simple_distributions_cpp/simple_distributions_cpp_vs2019.vcxproj +++ b/Libraries/rocRAND/simple_distributions_cpp/simple_distributions_cpp_vs2019.vcxproj @@ -17,6 +17,12 @@ simple_distributions_cpp_vs2019 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -24,7 +30,7 @@ - + PreserveNewest @@ -33,13 +39,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -61,7 +67,10 @@ - + + true + + true @@ -78,7 +87,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -92,7 +101,7 @@ rocrand.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/Libraries/rocRAND/simple_distributions_cpp/simple_distributions_cpp_vs2022.vcxproj b/Libraries/rocRAND/simple_distributions_cpp/simple_distributions_cpp_vs2022.vcxproj index ec4980562..ab276fb44 100644 --- a/Libraries/rocRAND/simple_distributions_cpp/simple_distributions_cpp_vs2022.vcxproj +++ b/Libraries/rocRAND/simple_distributions_cpp/simple_distributions_cpp_vs2022.vcxproj @@ -17,6 +17,12 @@ simple_distributions_cpp_vs2022 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -24,7 +30,7 @@ - + PreserveNewest @@ -33,13 +39,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -61,7 +67,10 @@ - + + true + + true @@ -78,7 +87,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -92,7 +101,7 @@ rocrand.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/Libraries/rocSOLVER/getf2/getf2_vs2017.vcxproj b/Libraries/rocSOLVER/getf2/getf2_vs2017.vcxproj index c173e7edf..0d1d7038f 100644 --- a/Libraries/rocSOLVER/getf2/getf2_vs2017.vcxproj +++ b/Libraries/rocSOLVER/getf2/getf2_vs2017.vcxproj @@ -17,6 +17,12 @@ getf2_vs2017 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -25,7 +31,7 @@ - + PreserveNewest @@ -44,13 +50,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -72,7 +78,10 @@ - + + true + + true @@ -89,7 +98,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -103,7 +112,7 @@ rocblas.lib;rocsolver.lib;rocsparse.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/Libraries/rocSOLVER/getf2/getf2_vs2019.vcxproj b/Libraries/rocSOLVER/getf2/getf2_vs2019.vcxproj index df2885540..9f416b0d4 100644 --- a/Libraries/rocSOLVER/getf2/getf2_vs2019.vcxproj +++ b/Libraries/rocSOLVER/getf2/getf2_vs2019.vcxproj @@ -17,6 +17,12 @@ getf2_vs2019 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -25,7 +31,7 @@ - + PreserveNewest @@ -44,13 +50,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -72,7 +78,10 @@ - + + true + + true @@ -89,7 +98,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -103,7 +112,7 @@ rocblas.lib;rocsolver.lib;rocsparse.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/Libraries/rocSOLVER/getf2/getf2_vs2022.vcxproj b/Libraries/rocSOLVER/getf2/getf2_vs2022.vcxproj index 82e621243..76d31feba 100644 --- a/Libraries/rocSOLVER/getf2/getf2_vs2022.vcxproj +++ b/Libraries/rocSOLVER/getf2/getf2_vs2022.vcxproj @@ -17,6 +17,12 @@ getf2_vs2022 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -25,7 +31,7 @@ - + PreserveNewest @@ -44,13 +50,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -72,7 +78,10 @@ - + + true + + true @@ -89,7 +98,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -103,7 +112,7 @@ rocblas.lib;rocsolver.lib;rocsparse.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/Libraries/rocSOLVER/getri/getri_vs2017.vcxproj b/Libraries/rocSOLVER/getri/getri_vs2017.vcxproj index 66e623390..490aed9e0 100644 --- a/Libraries/rocSOLVER/getri/getri_vs2017.vcxproj +++ b/Libraries/rocSOLVER/getri/getri_vs2017.vcxproj @@ -17,6 +17,12 @@ getri_vs2017 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -25,7 +31,7 @@ - + PreserveNewest @@ -44,13 +50,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -72,7 +78,10 @@ - + + true + + true @@ -89,7 +98,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -103,7 +112,7 @@ rocblas.lib;rocsolver.lib;rocsparse.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/Libraries/rocSOLVER/getri/getri_vs2019.vcxproj b/Libraries/rocSOLVER/getri/getri_vs2019.vcxproj index 61ab49480..14006f4ff 100644 --- a/Libraries/rocSOLVER/getri/getri_vs2019.vcxproj +++ b/Libraries/rocSOLVER/getri/getri_vs2019.vcxproj @@ -17,6 +17,12 @@ getri_vs2019 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -25,7 +31,7 @@ - + PreserveNewest @@ -44,13 +50,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -72,7 +78,10 @@ - + + true + + true @@ -89,7 +98,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -103,7 +112,7 @@ rocblas.lib;rocsolver.lib;rocsparse.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/Libraries/rocSOLVER/getri/getri_vs2022.vcxproj b/Libraries/rocSOLVER/getri/getri_vs2022.vcxproj index 3682e7289..c2d5c13b0 100644 --- a/Libraries/rocSOLVER/getri/getri_vs2022.vcxproj +++ b/Libraries/rocSOLVER/getri/getri_vs2022.vcxproj @@ -17,6 +17,12 @@ getri_vs2022 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -25,7 +31,7 @@ - + PreserveNewest @@ -44,13 +50,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -72,7 +78,10 @@ - + + true + + true @@ -89,7 +98,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -103,7 +112,7 @@ rocblas.lib;rocsolver.lib;rocsparse.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/Libraries/rocSOLVER/syev/syev_vs2017.vcxproj b/Libraries/rocSOLVER/syev/syev_vs2017.vcxproj index b82486156..557b164b6 100644 --- a/Libraries/rocSOLVER/syev/syev_vs2017.vcxproj +++ b/Libraries/rocSOLVER/syev/syev_vs2017.vcxproj @@ -17,6 +17,12 @@ syev_vs2017 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -25,7 +31,7 @@ - + PreserveNewest @@ -44,13 +50,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -72,7 +78,10 @@ - + + true + + true @@ -89,7 +98,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -103,7 +112,7 @@ rocblas.lib;rocsolver.lib;rocsparse.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/Libraries/rocSOLVER/syev/syev_vs2019.vcxproj b/Libraries/rocSOLVER/syev/syev_vs2019.vcxproj index 070be1ce3..d1c2883fd 100644 --- a/Libraries/rocSOLVER/syev/syev_vs2019.vcxproj +++ b/Libraries/rocSOLVER/syev/syev_vs2019.vcxproj @@ -17,6 +17,12 @@ syev_vs2019 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -25,7 +31,7 @@ - + PreserveNewest @@ -44,13 +50,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -72,7 +78,10 @@ - + + true + + true @@ -89,7 +98,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -103,7 +112,7 @@ rocblas.lib;rocsolver.lib;rocsparse.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/Libraries/rocSOLVER/syev/syev_vs2022.vcxproj b/Libraries/rocSOLVER/syev/syev_vs2022.vcxproj index 3fe08b0ad..1cc6bfe39 100644 --- a/Libraries/rocSOLVER/syev/syev_vs2022.vcxproj +++ b/Libraries/rocSOLVER/syev/syev_vs2022.vcxproj @@ -17,6 +17,12 @@ syev_vs2022 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -25,7 +31,7 @@ - + PreserveNewest @@ -44,13 +50,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -72,7 +78,10 @@ - + + true + + true @@ -89,7 +98,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -103,7 +112,7 @@ rocblas.lib;rocsolver.lib;rocsparse.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/Libraries/rocSOLVER/syev_batched/syev_batched_vs2017.vcxproj b/Libraries/rocSOLVER/syev_batched/syev_batched_vs2017.vcxproj index 7f8831512..4c1d32594 100644 --- a/Libraries/rocSOLVER/syev_batched/syev_batched_vs2017.vcxproj +++ b/Libraries/rocSOLVER/syev_batched/syev_batched_vs2017.vcxproj @@ -17,6 +17,12 @@ syev_batched_vs2017 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -25,7 +31,7 @@ - + PreserveNewest @@ -44,13 +50,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -72,7 +78,10 @@ - + + true + + true @@ -89,7 +98,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -103,7 +112,7 @@ rocblas.lib;rocsolver.lib;rocsparse.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/Libraries/rocSOLVER/syev_batched/syev_batched_vs2019.vcxproj b/Libraries/rocSOLVER/syev_batched/syev_batched_vs2019.vcxproj index ed795eda2..0e671b6f1 100644 --- a/Libraries/rocSOLVER/syev_batched/syev_batched_vs2019.vcxproj +++ b/Libraries/rocSOLVER/syev_batched/syev_batched_vs2019.vcxproj @@ -17,6 +17,12 @@ syev_batched_vs2019 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -25,7 +31,7 @@ - + PreserveNewest @@ -44,13 +50,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -72,7 +78,10 @@ - + + true + + true @@ -89,7 +98,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -103,7 +112,7 @@ rocblas.lib;rocsolver.lib;rocsparse.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/Libraries/rocSOLVER/syev_batched/syev_batched_vs2022.vcxproj b/Libraries/rocSOLVER/syev_batched/syev_batched_vs2022.vcxproj index 1650b6641..7733a2330 100644 --- a/Libraries/rocSOLVER/syev_batched/syev_batched_vs2022.vcxproj +++ b/Libraries/rocSOLVER/syev_batched/syev_batched_vs2022.vcxproj @@ -17,6 +17,12 @@ syev_batched_vs2022 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -25,7 +31,7 @@ - + PreserveNewest @@ -44,13 +50,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -72,7 +78,10 @@ - + + true + + true @@ -89,7 +98,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -103,7 +112,7 @@ rocblas.lib;rocsolver.lib;rocsparse.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/Libraries/rocSOLVER/syev_strided_batched/syev_strided_batched_vs2017.vcxproj b/Libraries/rocSOLVER/syev_strided_batched/syev_strided_batched_vs2017.vcxproj index f3d4f5364..f21ed4cdb 100644 --- a/Libraries/rocSOLVER/syev_strided_batched/syev_strided_batched_vs2017.vcxproj +++ b/Libraries/rocSOLVER/syev_strided_batched/syev_strided_batched_vs2017.vcxproj @@ -17,6 +17,12 @@ syev_strided_batched_vs2017 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -25,7 +31,7 @@ - + PreserveNewest @@ -44,13 +50,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -72,7 +78,10 @@ - + + true + + true @@ -89,7 +98,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -103,7 +112,7 @@ rocblas.lib;rocsolver.lib;rocsparse.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/Libraries/rocSOLVER/syev_strided_batched/syev_strided_batched_vs2019.vcxproj b/Libraries/rocSOLVER/syev_strided_batched/syev_strided_batched_vs2019.vcxproj index a0ca0f9c8..93c0f3a82 100644 --- a/Libraries/rocSOLVER/syev_strided_batched/syev_strided_batched_vs2019.vcxproj +++ b/Libraries/rocSOLVER/syev_strided_batched/syev_strided_batched_vs2019.vcxproj @@ -17,6 +17,12 @@ syev_strided_batched_vs2019 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -25,7 +31,7 @@ - + PreserveNewest @@ -44,13 +50,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -72,7 +78,10 @@ - + + true + + true @@ -89,7 +98,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -103,7 +112,7 @@ rocblas.lib;rocsolver.lib;rocsparse.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/Libraries/rocSOLVER/syev_strided_batched/syev_strided_batched_vs2022.vcxproj b/Libraries/rocSOLVER/syev_strided_batched/syev_strided_batched_vs2022.vcxproj index f37f5086c..0badb7a0d 100644 --- a/Libraries/rocSOLVER/syev_strided_batched/syev_strided_batched_vs2022.vcxproj +++ b/Libraries/rocSOLVER/syev_strided_batched/syev_strided_batched_vs2022.vcxproj @@ -17,6 +17,12 @@ syev_strided_batched_vs2022 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -25,7 +31,7 @@ - + PreserveNewest @@ -44,13 +50,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -72,7 +78,10 @@ - + + true + + true @@ -89,7 +98,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -103,7 +112,7 @@ rocblas.lib;rocsolver.lib;rocsparse.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/Libraries/rocSPARSE/level_2/bsrmv/bsrmv_vs2017.vcxproj b/Libraries/rocSPARSE/level_2/bsrmv/bsrmv_vs2017.vcxproj index 23b508b79..27b1c448e 100644 --- a/Libraries/rocSPARSE/level_2/bsrmv/bsrmv_vs2017.vcxproj +++ b/Libraries/rocSPARSE/level_2/bsrmv/bsrmv_vs2017.vcxproj @@ -17,13 +17,19 @@ bsrmv_vs2017 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + - + PreserveNewest @@ -32,13 +38,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -60,7 +66,10 @@ - + + true + + true @@ -77,7 +86,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -91,7 +100,7 @@ rocsparse.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/Libraries/rocSPARSE/level_2/bsrmv/bsrmv_vs2019.vcxproj b/Libraries/rocSPARSE/level_2/bsrmv/bsrmv_vs2019.vcxproj index 353c01e94..92ecc6105 100644 --- a/Libraries/rocSPARSE/level_2/bsrmv/bsrmv_vs2019.vcxproj +++ b/Libraries/rocSPARSE/level_2/bsrmv/bsrmv_vs2019.vcxproj @@ -17,13 +17,19 @@ bsrmv_vs2019 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + - + PreserveNewest @@ -32,13 +38,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -60,7 +66,10 @@ - + + true + + true @@ -77,7 +86,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -91,7 +100,7 @@ rocsparse.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/Libraries/rocSPARSE/level_2/bsrmv/bsrmv_vs2022.vcxproj b/Libraries/rocSPARSE/level_2/bsrmv/bsrmv_vs2022.vcxproj index 3fd4f7970..463512b62 100644 --- a/Libraries/rocSPARSE/level_2/bsrmv/bsrmv_vs2022.vcxproj +++ b/Libraries/rocSPARSE/level_2/bsrmv/bsrmv_vs2022.vcxproj @@ -17,13 +17,19 @@ bsrmv_vs2022 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + - + PreserveNewest @@ -32,13 +38,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -60,7 +66,10 @@ - + + true + + true @@ -77,7 +86,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -91,7 +100,7 @@ rocsparse.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/Libraries/rocSPARSE/level_2/bsrsv/bsrsv_vs2017.vcxproj b/Libraries/rocSPARSE/level_2/bsrsv/bsrsv_vs2017.vcxproj index 4f0df3d6d..78a4517cc 100644 --- a/Libraries/rocSPARSE/level_2/bsrsv/bsrsv_vs2017.vcxproj +++ b/Libraries/rocSPARSE/level_2/bsrsv/bsrsv_vs2017.vcxproj @@ -17,6 +17,12 @@ bsrsv_vs2017 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -24,7 +30,7 @@ - + PreserveNewest @@ -33,13 +39,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -61,7 +67,10 @@ - + + true + + true @@ -78,7 +87,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -92,7 +101,7 @@ rocsparse.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/Libraries/rocSPARSE/level_2/bsrsv/bsrsv_vs2019.vcxproj b/Libraries/rocSPARSE/level_2/bsrsv/bsrsv_vs2019.vcxproj index 4d43e997b..058dfc9da 100644 --- a/Libraries/rocSPARSE/level_2/bsrsv/bsrsv_vs2019.vcxproj +++ b/Libraries/rocSPARSE/level_2/bsrsv/bsrsv_vs2019.vcxproj @@ -17,6 +17,12 @@ bsrsv_vs2019 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -24,7 +30,7 @@ - + PreserveNewest @@ -33,13 +39,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -61,7 +67,10 @@ - + + true + + true @@ -78,7 +87,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -92,7 +101,7 @@ rocsparse.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/Libraries/rocSPARSE/level_2/bsrsv/bsrsv_vs2022.vcxproj b/Libraries/rocSPARSE/level_2/bsrsv/bsrsv_vs2022.vcxproj index 7106b83d5..7db7a34a0 100644 --- a/Libraries/rocSPARSE/level_2/bsrsv/bsrsv_vs2022.vcxproj +++ b/Libraries/rocSPARSE/level_2/bsrsv/bsrsv_vs2022.vcxproj @@ -17,6 +17,12 @@ bsrsv_vs2022 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -24,7 +30,7 @@ - + PreserveNewest @@ -33,13 +39,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -61,7 +67,10 @@ - + + true + + true @@ -78,7 +87,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -92,7 +101,7 @@ rocsparse.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/Libraries/rocSPARSE/level_2/bsrxmv/bsrxmv_vs2017.vcxproj b/Libraries/rocSPARSE/level_2/bsrxmv/bsrxmv_vs2017.vcxproj index 8d544741f..3cf0257f6 100644 --- a/Libraries/rocSPARSE/level_2/bsrxmv/bsrxmv_vs2017.vcxproj +++ b/Libraries/rocSPARSE/level_2/bsrxmv/bsrxmv_vs2017.vcxproj @@ -17,6 +17,12 @@ bsrxmv_vs2017 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -24,7 +30,7 @@ - + PreserveNewest @@ -33,13 +39,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -61,7 +67,10 @@ - + + true + + true @@ -78,7 +87,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -92,7 +101,7 @@ rocsparse.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/Libraries/rocSPARSE/level_2/bsrxmv/bsrxmv_vs2019.vcxproj b/Libraries/rocSPARSE/level_2/bsrxmv/bsrxmv_vs2019.vcxproj index 17d4e6e00..ea14dfa06 100644 --- a/Libraries/rocSPARSE/level_2/bsrxmv/bsrxmv_vs2019.vcxproj +++ b/Libraries/rocSPARSE/level_2/bsrxmv/bsrxmv_vs2019.vcxproj @@ -17,6 +17,12 @@ bsrxmv_vs2019 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -24,7 +30,7 @@ - + PreserveNewest @@ -33,13 +39,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -61,7 +67,10 @@ - + + true + + true @@ -78,7 +87,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -92,7 +101,7 @@ rocsparse.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/Libraries/rocSPARSE/level_2/bsrxmv/bsrxmv_vs2022.vcxproj b/Libraries/rocSPARSE/level_2/bsrxmv/bsrxmv_vs2022.vcxproj index 34aa34bbb..eed368764 100644 --- a/Libraries/rocSPARSE/level_2/bsrxmv/bsrxmv_vs2022.vcxproj +++ b/Libraries/rocSPARSE/level_2/bsrxmv/bsrxmv_vs2022.vcxproj @@ -17,6 +17,12 @@ bsrxmv_vs2022 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -24,7 +30,7 @@ - + PreserveNewest @@ -33,13 +39,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -61,7 +67,10 @@ - + + true + + true @@ -78,7 +87,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -92,7 +101,7 @@ rocsparse.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/Libraries/rocSPARSE/level_2/coomv/coomv_vs2017.vcxproj b/Libraries/rocSPARSE/level_2/coomv/coomv_vs2017.vcxproj index 5f1a714ef..65dba8d7f 100644 --- a/Libraries/rocSPARSE/level_2/coomv/coomv_vs2017.vcxproj +++ b/Libraries/rocSPARSE/level_2/coomv/coomv_vs2017.vcxproj @@ -17,6 +17,12 @@ coomv_vs2017 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -24,7 +30,7 @@ - + PreserveNewest @@ -33,13 +39,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -61,7 +67,10 @@ - + + true + + true @@ -78,7 +87,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -92,7 +101,7 @@ rocsparse.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/Libraries/rocSPARSE/level_2/coomv/coomv_vs2019.vcxproj b/Libraries/rocSPARSE/level_2/coomv/coomv_vs2019.vcxproj index 68198c300..37269e8c8 100644 --- a/Libraries/rocSPARSE/level_2/coomv/coomv_vs2019.vcxproj +++ b/Libraries/rocSPARSE/level_2/coomv/coomv_vs2019.vcxproj @@ -17,6 +17,12 @@ coomv_vs2019 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -24,7 +30,7 @@ - + PreserveNewest @@ -33,13 +39,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -61,7 +67,10 @@ - + + true + + true @@ -78,7 +87,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -92,7 +101,7 @@ rocsparse.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/Libraries/rocSPARSE/level_2/coomv/coomv_vs2022.vcxproj b/Libraries/rocSPARSE/level_2/coomv/coomv_vs2022.vcxproj index c5f07ce16..a1dd6bc38 100644 --- a/Libraries/rocSPARSE/level_2/coomv/coomv_vs2022.vcxproj +++ b/Libraries/rocSPARSE/level_2/coomv/coomv_vs2022.vcxproj @@ -17,6 +17,12 @@ coomv_vs2022 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -24,7 +30,7 @@ - + PreserveNewest @@ -33,13 +39,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -61,7 +67,10 @@ - + + true + + true @@ -78,7 +87,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -92,7 +101,7 @@ rocsparse.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/Libraries/rocSPARSE/level_2/csritsv/csritsv_vs2017.vcxproj b/Libraries/rocSPARSE/level_2/csritsv/csritsv_vs2017.vcxproj index 6f7219b50..c7a3447ac 100644 --- a/Libraries/rocSPARSE/level_2/csritsv/csritsv_vs2017.vcxproj +++ b/Libraries/rocSPARSE/level_2/csritsv/csritsv_vs2017.vcxproj @@ -17,6 +17,12 @@ csritsv_vs2017 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -24,7 +30,7 @@ - + PreserveNewest @@ -33,13 +39,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -61,7 +67,10 @@ - + + true + + true @@ -78,7 +87,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -92,7 +101,7 @@ rocsparse.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/Libraries/rocSPARSE/level_2/csritsv/csritsv_vs2019.vcxproj b/Libraries/rocSPARSE/level_2/csritsv/csritsv_vs2019.vcxproj index 0c8e258e9..fbbe5fe29 100644 --- a/Libraries/rocSPARSE/level_2/csritsv/csritsv_vs2019.vcxproj +++ b/Libraries/rocSPARSE/level_2/csritsv/csritsv_vs2019.vcxproj @@ -17,6 +17,12 @@ csritsv_vs2019 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -24,7 +30,7 @@ - + PreserveNewest @@ -33,13 +39,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -61,7 +67,10 @@ - + + true + + true @@ -78,7 +87,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -92,7 +101,7 @@ rocsparse.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/Libraries/rocSPARSE/level_2/csritsv/csritsv_vs2022.vcxproj b/Libraries/rocSPARSE/level_2/csritsv/csritsv_vs2022.vcxproj index 707c7a938..62d8eee93 100644 --- a/Libraries/rocSPARSE/level_2/csritsv/csritsv_vs2022.vcxproj +++ b/Libraries/rocSPARSE/level_2/csritsv/csritsv_vs2022.vcxproj @@ -17,6 +17,12 @@ csritsv_vs2022 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -24,7 +30,7 @@ - + PreserveNewest @@ -33,13 +39,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -61,7 +67,10 @@ - + + true + + true @@ -78,7 +87,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -92,7 +101,7 @@ rocsparse.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/Libraries/rocSPARSE/level_2/csrmv/csrmv_vs2017.vcxproj b/Libraries/rocSPARSE/level_2/csrmv/csrmv_vs2017.vcxproj index edad635c1..ec5e2625e 100644 --- a/Libraries/rocSPARSE/level_2/csrmv/csrmv_vs2017.vcxproj +++ b/Libraries/rocSPARSE/level_2/csrmv/csrmv_vs2017.vcxproj @@ -17,6 +17,12 @@ csrmv_vs2017 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -24,7 +30,7 @@ - + PreserveNewest @@ -33,13 +39,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -61,7 +67,10 @@ - + + true + + true @@ -78,7 +87,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -92,7 +101,7 @@ rocsparse.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/Libraries/rocSPARSE/level_2/csrmv/csrmv_vs2019.vcxproj b/Libraries/rocSPARSE/level_2/csrmv/csrmv_vs2019.vcxproj index 623f619e6..e767963dd 100644 --- a/Libraries/rocSPARSE/level_2/csrmv/csrmv_vs2019.vcxproj +++ b/Libraries/rocSPARSE/level_2/csrmv/csrmv_vs2019.vcxproj @@ -17,6 +17,12 @@ csrmv_vs2019 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -24,7 +30,7 @@ - + PreserveNewest @@ -33,13 +39,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -61,7 +67,10 @@ - + + true + + true @@ -78,7 +87,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -92,7 +101,7 @@ rocsparse.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/Libraries/rocSPARSE/level_2/csrmv/csrmv_vs2022.vcxproj b/Libraries/rocSPARSE/level_2/csrmv/csrmv_vs2022.vcxproj index ec85ed0ff..ce148337b 100644 --- a/Libraries/rocSPARSE/level_2/csrmv/csrmv_vs2022.vcxproj +++ b/Libraries/rocSPARSE/level_2/csrmv/csrmv_vs2022.vcxproj @@ -17,6 +17,12 @@ csrmv_vs2022 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -24,7 +30,7 @@ - + PreserveNewest @@ -33,13 +39,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -61,7 +67,10 @@ - + + true + + true @@ -78,7 +87,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -92,7 +101,7 @@ rocsparse.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/Libraries/rocSPARSE/level_2/csrsv/csrsv_vs2017.vcxproj b/Libraries/rocSPARSE/level_2/csrsv/csrsv_vs2017.vcxproj index c1143d479..00b6e906c 100644 --- a/Libraries/rocSPARSE/level_2/csrsv/csrsv_vs2017.vcxproj +++ b/Libraries/rocSPARSE/level_2/csrsv/csrsv_vs2017.vcxproj @@ -17,6 +17,12 @@ csrsv_vs2017 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -24,7 +30,7 @@ - + PreserveNewest @@ -33,13 +39,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -61,7 +67,10 @@ - + + true + + true @@ -78,7 +87,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -92,7 +101,7 @@ rocsparse.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/Libraries/rocSPARSE/level_2/csrsv/csrsv_vs2019.vcxproj b/Libraries/rocSPARSE/level_2/csrsv/csrsv_vs2019.vcxproj index c44aff24d..4febf1620 100644 --- a/Libraries/rocSPARSE/level_2/csrsv/csrsv_vs2019.vcxproj +++ b/Libraries/rocSPARSE/level_2/csrsv/csrsv_vs2019.vcxproj @@ -17,6 +17,12 @@ csrsv_vs2019 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -24,7 +30,7 @@ - + PreserveNewest @@ -33,13 +39,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -61,7 +67,10 @@ - + + true + + true @@ -78,7 +87,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -92,7 +101,7 @@ rocsparse.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/Libraries/rocSPARSE/level_2/csrsv/csrsv_vs2022.vcxproj b/Libraries/rocSPARSE/level_2/csrsv/csrsv_vs2022.vcxproj index a077bdd51..5fd4f0cc0 100644 --- a/Libraries/rocSPARSE/level_2/csrsv/csrsv_vs2022.vcxproj +++ b/Libraries/rocSPARSE/level_2/csrsv/csrsv_vs2022.vcxproj @@ -17,6 +17,12 @@ csrsv_vs2022 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -24,7 +30,7 @@ - + PreserveNewest @@ -33,13 +39,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -61,7 +67,10 @@ - + + true + + true @@ -78,7 +87,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -92,7 +101,7 @@ rocsparse.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/Libraries/rocSPARSE/level_2/ellmv/ellmv_vs2017.vcxproj b/Libraries/rocSPARSE/level_2/ellmv/ellmv_vs2017.vcxproj index 74129c5b4..68a218ff8 100644 --- a/Libraries/rocSPARSE/level_2/ellmv/ellmv_vs2017.vcxproj +++ b/Libraries/rocSPARSE/level_2/ellmv/ellmv_vs2017.vcxproj @@ -17,6 +17,12 @@ ellmv_vs2017 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -24,7 +30,7 @@ - + PreserveNewest @@ -33,13 +39,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -61,7 +67,10 @@ - + + true + + true @@ -78,7 +87,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -92,7 +101,7 @@ rocsparse.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/Libraries/rocSPARSE/level_2/ellmv/ellmv_vs2019.vcxproj b/Libraries/rocSPARSE/level_2/ellmv/ellmv_vs2019.vcxproj index 5b7804681..69df5af99 100644 --- a/Libraries/rocSPARSE/level_2/ellmv/ellmv_vs2019.vcxproj +++ b/Libraries/rocSPARSE/level_2/ellmv/ellmv_vs2019.vcxproj @@ -17,6 +17,12 @@ ellmv_vs2019 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -24,7 +30,7 @@ - + PreserveNewest @@ -33,13 +39,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -61,7 +67,10 @@ - + + true + + true @@ -78,7 +87,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -92,7 +101,7 @@ rocsparse.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/Libraries/rocSPARSE/level_2/ellmv/ellmv_vs2022.vcxproj b/Libraries/rocSPARSE/level_2/ellmv/ellmv_vs2022.vcxproj index c83c99d5a..79aafd97f 100644 --- a/Libraries/rocSPARSE/level_2/ellmv/ellmv_vs2022.vcxproj +++ b/Libraries/rocSPARSE/level_2/ellmv/ellmv_vs2022.vcxproj @@ -17,6 +17,12 @@ ellmv_vs2022 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -24,7 +30,7 @@ - + PreserveNewest @@ -33,13 +39,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -61,7 +67,10 @@ - + + true + + true @@ -78,7 +87,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -92,7 +101,7 @@ rocsparse.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/Libraries/rocSPARSE/level_2/gebsrmv/gebsrmv_vs2017.vcxproj b/Libraries/rocSPARSE/level_2/gebsrmv/gebsrmv_vs2017.vcxproj index 954e75896..ff4386fa5 100644 --- a/Libraries/rocSPARSE/level_2/gebsrmv/gebsrmv_vs2017.vcxproj +++ b/Libraries/rocSPARSE/level_2/gebsrmv/gebsrmv_vs2017.vcxproj @@ -17,13 +17,19 @@ gebsrmv_vs2017 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + - + PreserveNewest @@ -32,13 +38,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -60,7 +66,10 @@ - + + true + + true @@ -77,7 +86,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -91,7 +100,7 @@ rocsparse.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/Libraries/rocSPARSE/level_2/gebsrmv/gebsrmv_vs2019.vcxproj b/Libraries/rocSPARSE/level_2/gebsrmv/gebsrmv_vs2019.vcxproj index c10b871bb..0e0483f9b 100644 --- a/Libraries/rocSPARSE/level_2/gebsrmv/gebsrmv_vs2019.vcxproj +++ b/Libraries/rocSPARSE/level_2/gebsrmv/gebsrmv_vs2019.vcxproj @@ -17,13 +17,19 @@ gebsrmv_vs2019 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + - + PreserveNewest @@ -32,13 +38,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -60,7 +66,10 @@ - + + true + + true @@ -77,7 +86,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -91,7 +100,7 @@ rocsparse.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/Libraries/rocSPARSE/level_2/gebsrmv/gebsrmv_vs2022.vcxproj b/Libraries/rocSPARSE/level_2/gebsrmv/gebsrmv_vs2022.vcxproj index 0e2a277db..9a656fec5 100644 --- a/Libraries/rocSPARSE/level_2/gebsrmv/gebsrmv_vs2022.vcxproj +++ b/Libraries/rocSPARSE/level_2/gebsrmv/gebsrmv_vs2022.vcxproj @@ -17,13 +17,19 @@ gebsrmv_vs2022 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + - + PreserveNewest @@ -32,13 +38,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -60,7 +66,10 @@ - + + true + + true @@ -77,7 +86,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -91,7 +100,7 @@ rocsparse.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/Libraries/rocSPARSE/level_2/gemvi/gemvi_vs2017.vcxproj b/Libraries/rocSPARSE/level_2/gemvi/gemvi_vs2017.vcxproj index 5185c7266..4873353d4 100644 --- a/Libraries/rocSPARSE/level_2/gemvi/gemvi_vs2017.vcxproj +++ b/Libraries/rocSPARSE/level_2/gemvi/gemvi_vs2017.vcxproj @@ -17,6 +17,12 @@ gemvi_vs2017 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -24,7 +30,7 @@ - + PreserveNewest @@ -33,13 +39,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -61,7 +67,10 @@ - + + true + + true @@ -78,7 +87,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -92,7 +101,7 @@ rocsparse.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/Libraries/rocSPARSE/level_2/gemvi/gemvi_vs2019.vcxproj b/Libraries/rocSPARSE/level_2/gemvi/gemvi_vs2019.vcxproj index bfd20bc3e..228dea76c 100644 --- a/Libraries/rocSPARSE/level_2/gemvi/gemvi_vs2019.vcxproj +++ b/Libraries/rocSPARSE/level_2/gemvi/gemvi_vs2019.vcxproj @@ -17,6 +17,12 @@ gemvi_vs2019 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -24,7 +30,7 @@ - + PreserveNewest @@ -33,13 +39,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -61,7 +67,10 @@ - + + true + + true @@ -78,7 +87,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -92,7 +101,7 @@ rocsparse.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/Libraries/rocSPARSE/level_2/gemvi/gemvi_vs2022.vcxproj b/Libraries/rocSPARSE/level_2/gemvi/gemvi_vs2022.vcxproj index 08cea4b6c..577c7e109 100644 --- a/Libraries/rocSPARSE/level_2/gemvi/gemvi_vs2022.vcxproj +++ b/Libraries/rocSPARSE/level_2/gemvi/gemvi_vs2022.vcxproj @@ -17,6 +17,12 @@ gemvi_vs2022 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -24,7 +30,7 @@ - + PreserveNewest @@ -33,13 +39,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -61,7 +67,10 @@ - + + true + + true @@ -78,7 +87,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -92,7 +101,7 @@ rocsparse.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/Libraries/rocSPARSE/level_2/spitsv/spitsv_vs2017.vcxproj b/Libraries/rocSPARSE/level_2/spitsv/spitsv_vs2017.vcxproj index fae5786b7..54b3569b5 100644 --- a/Libraries/rocSPARSE/level_2/spitsv/spitsv_vs2017.vcxproj +++ b/Libraries/rocSPARSE/level_2/spitsv/spitsv_vs2017.vcxproj @@ -17,6 +17,12 @@ spitsv_vs2017 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -24,7 +30,7 @@ - + PreserveNewest @@ -33,13 +39,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -61,7 +67,10 @@ - + + true + + true @@ -78,7 +87,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -92,7 +101,7 @@ rocsparse.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/Libraries/rocSPARSE/level_2/spitsv/spitsv_vs2019.vcxproj b/Libraries/rocSPARSE/level_2/spitsv/spitsv_vs2019.vcxproj index 71ebb59ca..13b0afa28 100644 --- a/Libraries/rocSPARSE/level_2/spitsv/spitsv_vs2019.vcxproj +++ b/Libraries/rocSPARSE/level_2/spitsv/spitsv_vs2019.vcxproj @@ -17,6 +17,12 @@ spitsv_vs2019 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -24,7 +30,7 @@ - + PreserveNewest @@ -33,13 +39,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -61,7 +67,10 @@ - + + true + + true @@ -78,7 +87,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -92,7 +101,7 @@ rocsparse.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/Libraries/rocSPARSE/level_2/spitsv/spitsv_vs2022.vcxproj b/Libraries/rocSPARSE/level_2/spitsv/spitsv_vs2022.vcxproj index 61cbdc5c6..f6097d8a0 100644 --- a/Libraries/rocSPARSE/level_2/spitsv/spitsv_vs2022.vcxproj +++ b/Libraries/rocSPARSE/level_2/spitsv/spitsv_vs2022.vcxproj @@ -17,6 +17,12 @@ spitsv_vs2022 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -24,7 +30,7 @@ - + PreserveNewest @@ -33,13 +39,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -61,7 +67,10 @@ - + + true + + true @@ -78,7 +87,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -92,7 +101,7 @@ rocsparse.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/Libraries/rocSPARSE/level_2/spmv/spmv_vs2017.vcxproj b/Libraries/rocSPARSE/level_2/spmv/spmv_vs2017.vcxproj index 3b8d52381..d5b411384 100644 --- a/Libraries/rocSPARSE/level_2/spmv/spmv_vs2017.vcxproj +++ b/Libraries/rocSPARSE/level_2/spmv/spmv_vs2017.vcxproj @@ -17,6 +17,12 @@ spmv_vs2017 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -24,7 +30,7 @@ - + PreserveNewest @@ -33,13 +39,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -61,7 +67,10 @@ - + + true + + true @@ -78,7 +87,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -92,7 +101,7 @@ rocsparse.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/Libraries/rocSPARSE/level_2/spmv/spmv_vs2019.vcxproj b/Libraries/rocSPARSE/level_2/spmv/spmv_vs2019.vcxproj index 21167ec71..fcfdb55a7 100644 --- a/Libraries/rocSPARSE/level_2/spmv/spmv_vs2019.vcxproj +++ b/Libraries/rocSPARSE/level_2/spmv/spmv_vs2019.vcxproj @@ -17,6 +17,12 @@ spmv_vs2019 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -24,7 +30,7 @@ - + PreserveNewest @@ -33,13 +39,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -61,7 +67,10 @@ - + + true + + true @@ -78,7 +87,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -92,7 +101,7 @@ rocsparse.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/Libraries/rocSPARSE/level_2/spmv/spmv_vs2022.vcxproj b/Libraries/rocSPARSE/level_2/spmv/spmv_vs2022.vcxproj index 9178a96c1..4d16500db 100644 --- a/Libraries/rocSPARSE/level_2/spmv/spmv_vs2022.vcxproj +++ b/Libraries/rocSPARSE/level_2/spmv/spmv_vs2022.vcxproj @@ -17,6 +17,12 @@ spmv_vs2022 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -24,7 +30,7 @@ - + PreserveNewest @@ -33,13 +39,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -61,7 +67,10 @@ - + + true + + true @@ -78,7 +87,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -92,7 +101,7 @@ rocsparse.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/Libraries/rocSPARSE/level_2/spsv/spsv_vs2017.vcxproj b/Libraries/rocSPARSE/level_2/spsv/spsv_vs2017.vcxproj index befd1877a..b90545902 100644 --- a/Libraries/rocSPARSE/level_2/spsv/spsv_vs2017.vcxproj +++ b/Libraries/rocSPARSE/level_2/spsv/spsv_vs2017.vcxproj @@ -17,6 +17,12 @@ spsv_vs2017 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -24,7 +30,7 @@ - + PreserveNewest @@ -33,13 +39,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -61,7 +67,10 @@ - + + true + + true @@ -78,7 +87,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -92,7 +101,7 @@ rocsparse.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/Libraries/rocSPARSE/level_2/spsv/spsv_vs2019.vcxproj b/Libraries/rocSPARSE/level_2/spsv/spsv_vs2019.vcxproj index cdd3869d1..0e3d9f25c 100644 --- a/Libraries/rocSPARSE/level_2/spsv/spsv_vs2019.vcxproj +++ b/Libraries/rocSPARSE/level_2/spsv/spsv_vs2019.vcxproj @@ -17,6 +17,12 @@ spsv_vs2019 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -24,7 +30,7 @@ - + PreserveNewest @@ -33,13 +39,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -61,7 +67,10 @@ - + + true + + true @@ -78,7 +87,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -92,7 +101,7 @@ rocsparse.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/Libraries/rocSPARSE/level_2/spsv/spsv_vs2022.vcxproj b/Libraries/rocSPARSE/level_2/spsv/spsv_vs2022.vcxproj index 68574ace4..80e292fa4 100644 --- a/Libraries/rocSPARSE/level_2/spsv/spsv_vs2022.vcxproj +++ b/Libraries/rocSPARSE/level_2/spsv/spsv_vs2022.vcxproj @@ -17,6 +17,12 @@ spsv_vs2022 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -24,7 +30,7 @@ - + PreserveNewest @@ -33,13 +39,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -61,7 +67,10 @@ - + + true + + true @@ -78,7 +87,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -92,7 +101,7 @@ rocsparse.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/Libraries/rocSPARSE/level_3/bsrmm/bsrmm_vs2017.vcxproj b/Libraries/rocSPARSE/level_3/bsrmm/bsrmm_vs2017.vcxproj index 9ea17d483..17e3ac79c 100644 --- a/Libraries/rocSPARSE/level_3/bsrmm/bsrmm_vs2017.vcxproj +++ b/Libraries/rocSPARSE/level_3/bsrmm/bsrmm_vs2017.vcxproj @@ -17,6 +17,12 @@ bsrmm_vs2017 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -24,7 +30,7 @@ - + PreserveNewest @@ -33,13 +39,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -61,7 +67,10 @@ - + + true + + true @@ -78,7 +87,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -92,7 +101,7 @@ rocsparse.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/Libraries/rocSPARSE/level_3/bsrmm/bsrmm_vs2019.vcxproj b/Libraries/rocSPARSE/level_3/bsrmm/bsrmm_vs2019.vcxproj index e62175b96..3c4d766c4 100644 --- a/Libraries/rocSPARSE/level_3/bsrmm/bsrmm_vs2019.vcxproj +++ b/Libraries/rocSPARSE/level_3/bsrmm/bsrmm_vs2019.vcxproj @@ -17,6 +17,12 @@ bsrmm_vs2019 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -24,7 +30,7 @@ - + PreserveNewest @@ -33,13 +39,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -61,7 +67,10 @@ - + + true + + true @@ -78,7 +87,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -92,7 +101,7 @@ rocsparse.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/Libraries/rocSPARSE/level_3/bsrmm/bsrmm_vs2022.vcxproj b/Libraries/rocSPARSE/level_3/bsrmm/bsrmm_vs2022.vcxproj index 6ed5639e2..3062759ac 100644 --- a/Libraries/rocSPARSE/level_3/bsrmm/bsrmm_vs2022.vcxproj +++ b/Libraries/rocSPARSE/level_3/bsrmm/bsrmm_vs2022.vcxproj @@ -17,6 +17,12 @@ bsrmm_vs2022 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -24,7 +30,7 @@ - + PreserveNewest @@ -33,13 +39,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -61,7 +67,10 @@ - + + true + + true @@ -78,7 +87,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -92,7 +101,7 @@ rocsparse.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/Libraries/rocSPARSE/level_3/bsrsm/bsrsm_vs2017.vcxproj b/Libraries/rocSPARSE/level_3/bsrsm/bsrsm_vs2017.vcxproj index 7c9e8ac92..df5a28cf9 100644 --- a/Libraries/rocSPARSE/level_3/bsrsm/bsrsm_vs2017.vcxproj +++ b/Libraries/rocSPARSE/level_3/bsrsm/bsrsm_vs2017.vcxproj @@ -17,6 +17,12 @@ bsrsm_vs2017 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -24,7 +30,7 @@ - + PreserveNewest @@ -33,13 +39,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -61,7 +67,10 @@ - + + true + + true @@ -78,7 +87,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -92,7 +101,7 @@ rocsparse.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/Libraries/rocSPARSE/level_3/bsrsm/bsrsm_vs2019.vcxproj b/Libraries/rocSPARSE/level_3/bsrsm/bsrsm_vs2019.vcxproj index 7d5bed710..beda34675 100644 --- a/Libraries/rocSPARSE/level_3/bsrsm/bsrsm_vs2019.vcxproj +++ b/Libraries/rocSPARSE/level_3/bsrsm/bsrsm_vs2019.vcxproj @@ -17,6 +17,12 @@ bsrsm_vs2019 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -24,7 +30,7 @@ - + PreserveNewest @@ -33,13 +39,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -61,7 +67,10 @@ - + + true + + true @@ -78,7 +87,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -92,7 +101,7 @@ rocsparse.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/Libraries/rocSPARSE/level_3/bsrsm/bsrsm_vs2022.vcxproj b/Libraries/rocSPARSE/level_3/bsrsm/bsrsm_vs2022.vcxproj index 83677407e..74ea9ed02 100644 --- a/Libraries/rocSPARSE/level_3/bsrsm/bsrsm_vs2022.vcxproj +++ b/Libraries/rocSPARSE/level_3/bsrsm/bsrsm_vs2022.vcxproj @@ -17,6 +17,12 @@ bsrsm_vs2022 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -24,7 +30,7 @@ - + PreserveNewest @@ -33,13 +39,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -61,7 +67,10 @@ - + + true + + true @@ -78,7 +87,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -92,7 +101,7 @@ rocsparse.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/Libraries/rocSPARSE/level_3/csrmm/csrmm_vs2017.vcxproj b/Libraries/rocSPARSE/level_3/csrmm/csrmm_vs2017.vcxproj index 2093f8800..41feabf28 100644 --- a/Libraries/rocSPARSE/level_3/csrmm/csrmm_vs2017.vcxproj +++ b/Libraries/rocSPARSE/level_3/csrmm/csrmm_vs2017.vcxproj @@ -17,6 +17,12 @@ csrmm_vs2017 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -24,7 +30,7 @@ - + PreserveNewest @@ -33,13 +39,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -61,7 +67,10 @@ - + + true + + true @@ -78,7 +87,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -92,7 +101,7 @@ rocsparse.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/Libraries/rocSPARSE/level_3/csrmm/csrmm_vs2019.vcxproj b/Libraries/rocSPARSE/level_3/csrmm/csrmm_vs2019.vcxproj index f6842a408..463c8c97b 100644 --- a/Libraries/rocSPARSE/level_3/csrmm/csrmm_vs2019.vcxproj +++ b/Libraries/rocSPARSE/level_3/csrmm/csrmm_vs2019.vcxproj @@ -17,6 +17,12 @@ csrmm_vs2019 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -24,7 +30,7 @@ - + PreserveNewest @@ -33,13 +39,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -61,7 +67,10 @@ - + + true + + true @@ -78,7 +87,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -92,7 +101,7 @@ rocsparse.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/Libraries/rocSPARSE/level_3/csrmm/csrmm_vs2022.vcxproj b/Libraries/rocSPARSE/level_3/csrmm/csrmm_vs2022.vcxproj index 8bcfe23a3..07258cfc8 100644 --- a/Libraries/rocSPARSE/level_3/csrmm/csrmm_vs2022.vcxproj +++ b/Libraries/rocSPARSE/level_3/csrmm/csrmm_vs2022.vcxproj @@ -17,6 +17,12 @@ csrmm_vs2022 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -24,7 +30,7 @@ - + PreserveNewest @@ -33,13 +39,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -61,7 +67,10 @@ - + + true + + true @@ -78,7 +87,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -92,7 +101,7 @@ rocsparse.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/Libraries/rocSPARSE/level_3/csrsm/csrsm_vs2017.vcxproj b/Libraries/rocSPARSE/level_3/csrsm/csrsm_vs2017.vcxproj index 1785ece6a..84c786051 100644 --- a/Libraries/rocSPARSE/level_3/csrsm/csrsm_vs2017.vcxproj +++ b/Libraries/rocSPARSE/level_3/csrsm/csrsm_vs2017.vcxproj @@ -17,6 +17,12 @@ csrsm_vs2017 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -24,7 +30,7 @@ - + PreserveNewest @@ -33,13 +39,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -61,7 +67,10 @@ - + + true + + true @@ -78,7 +87,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -92,7 +101,7 @@ rocsparse.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/Libraries/rocSPARSE/level_3/csrsm/csrsm_vs2019.vcxproj b/Libraries/rocSPARSE/level_3/csrsm/csrsm_vs2019.vcxproj index 8d6045ee9..2959d8036 100644 --- a/Libraries/rocSPARSE/level_3/csrsm/csrsm_vs2019.vcxproj +++ b/Libraries/rocSPARSE/level_3/csrsm/csrsm_vs2019.vcxproj @@ -17,6 +17,12 @@ csrsm_vs2019 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -24,7 +30,7 @@ - + PreserveNewest @@ -33,13 +39,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -61,7 +67,10 @@ - + + true + + true @@ -78,7 +87,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -92,7 +101,7 @@ rocsparse.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/Libraries/rocSPARSE/level_3/csrsm/csrsm_vs2022.vcxproj b/Libraries/rocSPARSE/level_3/csrsm/csrsm_vs2022.vcxproj index f7625d824..47d7b4e0b 100644 --- a/Libraries/rocSPARSE/level_3/csrsm/csrsm_vs2022.vcxproj +++ b/Libraries/rocSPARSE/level_3/csrsm/csrsm_vs2022.vcxproj @@ -17,6 +17,12 @@ csrsm_vs2022 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -24,7 +30,7 @@ - + PreserveNewest @@ -33,13 +39,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -61,7 +67,10 @@ - + + true + + true @@ -78,7 +87,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -92,7 +101,7 @@ rocsparse.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/Libraries/rocSPARSE/level_3/gebsrmm/gebsrmm_vs2017.vcxproj b/Libraries/rocSPARSE/level_3/gebsrmm/gebsrmm_vs2017.vcxproj index a00f1ad71..fb0696d87 100644 --- a/Libraries/rocSPARSE/level_3/gebsrmm/gebsrmm_vs2017.vcxproj +++ b/Libraries/rocSPARSE/level_3/gebsrmm/gebsrmm_vs2017.vcxproj @@ -17,6 +17,12 @@ gebsrmm_vs2017 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -24,7 +30,7 @@ - + PreserveNewest @@ -33,13 +39,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -61,7 +67,10 @@ - + + true + + true @@ -78,7 +87,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -92,7 +101,7 @@ rocsparse.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/Libraries/rocSPARSE/level_3/gebsrmm/gebsrmm_vs2019.vcxproj b/Libraries/rocSPARSE/level_3/gebsrmm/gebsrmm_vs2019.vcxproj index 42d617bc1..7df2e96a6 100644 --- a/Libraries/rocSPARSE/level_3/gebsrmm/gebsrmm_vs2019.vcxproj +++ b/Libraries/rocSPARSE/level_3/gebsrmm/gebsrmm_vs2019.vcxproj @@ -17,6 +17,12 @@ gebsrmm_vs2019 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -24,7 +30,7 @@ - + PreserveNewest @@ -33,13 +39,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -61,7 +67,10 @@ - + + true + + true @@ -78,7 +87,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -92,7 +101,7 @@ rocsparse.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/Libraries/rocSPARSE/level_3/gebsrmm/gebsrmm_vs2022.vcxproj b/Libraries/rocSPARSE/level_3/gebsrmm/gebsrmm_vs2022.vcxproj index ad9b96422..8b43881fb 100644 --- a/Libraries/rocSPARSE/level_3/gebsrmm/gebsrmm_vs2022.vcxproj +++ b/Libraries/rocSPARSE/level_3/gebsrmm/gebsrmm_vs2022.vcxproj @@ -17,6 +17,12 @@ gebsrmm_vs2022 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -24,7 +30,7 @@ - + PreserveNewest @@ -33,13 +39,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -61,7 +67,10 @@ - + + true + + true @@ -78,7 +87,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -92,7 +101,7 @@ rocsparse.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/Libraries/rocSPARSE/level_3/gemmi/gemmi_vs2017.vcxproj b/Libraries/rocSPARSE/level_3/gemmi/gemmi_vs2017.vcxproj index 5b3b0b376..6fc0e491b 100644 --- a/Libraries/rocSPARSE/level_3/gemmi/gemmi_vs2017.vcxproj +++ b/Libraries/rocSPARSE/level_3/gemmi/gemmi_vs2017.vcxproj @@ -17,6 +17,12 @@ gemmi_vs2017 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -24,7 +30,7 @@ - + PreserveNewest @@ -33,13 +39,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -61,7 +67,10 @@ - + + true + + true @@ -78,7 +87,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -92,7 +101,7 @@ rocsparse.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/Libraries/rocSPARSE/level_3/gemmi/gemmi_vs2019.vcxproj b/Libraries/rocSPARSE/level_3/gemmi/gemmi_vs2019.vcxproj index 3a9c45186..5fc9c4c00 100644 --- a/Libraries/rocSPARSE/level_3/gemmi/gemmi_vs2019.vcxproj +++ b/Libraries/rocSPARSE/level_3/gemmi/gemmi_vs2019.vcxproj @@ -17,6 +17,12 @@ gemmi_vs2019 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -24,7 +30,7 @@ - + PreserveNewest @@ -33,13 +39,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -61,7 +67,10 @@ - + + true + + true @@ -78,7 +87,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -92,7 +101,7 @@ rocsparse.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/Libraries/rocSPARSE/level_3/gemmi/gemmi_vs2022.vcxproj b/Libraries/rocSPARSE/level_3/gemmi/gemmi_vs2022.vcxproj index 2f6df0ee3..63399da46 100644 --- a/Libraries/rocSPARSE/level_3/gemmi/gemmi_vs2022.vcxproj +++ b/Libraries/rocSPARSE/level_3/gemmi/gemmi_vs2022.vcxproj @@ -17,6 +17,12 @@ gemmi_vs2022 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -24,7 +30,7 @@ - + PreserveNewest @@ -33,13 +39,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -61,7 +67,10 @@ - + + true + + true @@ -78,7 +87,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -92,7 +101,7 @@ rocsparse.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/Libraries/rocSPARSE/level_3/sddmm/sddmm_vs2017.vcxproj b/Libraries/rocSPARSE/level_3/sddmm/sddmm_vs2017.vcxproj index ac2f9497e..c262f6f5d 100644 --- a/Libraries/rocSPARSE/level_3/sddmm/sddmm_vs2017.vcxproj +++ b/Libraries/rocSPARSE/level_3/sddmm/sddmm_vs2017.vcxproj @@ -17,6 +17,12 @@ sddmm_vs2017 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -24,7 +30,7 @@ - + PreserveNewest @@ -33,13 +39,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -61,7 +67,10 @@ - + + true + + true @@ -78,7 +87,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -92,7 +101,7 @@ rocsparse.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/Libraries/rocSPARSE/level_3/sddmm/sddmm_vs2019.vcxproj b/Libraries/rocSPARSE/level_3/sddmm/sddmm_vs2019.vcxproj index 69effdb3c..3db159d49 100644 --- a/Libraries/rocSPARSE/level_3/sddmm/sddmm_vs2019.vcxproj +++ b/Libraries/rocSPARSE/level_3/sddmm/sddmm_vs2019.vcxproj @@ -17,6 +17,12 @@ sddmm_vs2019 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -24,7 +30,7 @@ - + PreserveNewest @@ -33,13 +39,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -61,7 +67,10 @@ - + + true + + true @@ -78,7 +87,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -92,7 +101,7 @@ rocsparse.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/Libraries/rocSPARSE/level_3/sddmm/sddmm_vs2022.vcxproj b/Libraries/rocSPARSE/level_3/sddmm/sddmm_vs2022.vcxproj index 1aabba3b7..68fb974f2 100644 --- a/Libraries/rocSPARSE/level_3/sddmm/sddmm_vs2022.vcxproj +++ b/Libraries/rocSPARSE/level_3/sddmm/sddmm_vs2022.vcxproj @@ -17,6 +17,12 @@ sddmm_vs2022 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -24,7 +30,7 @@ - + PreserveNewest @@ -33,13 +39,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -61,7 +67,10 @@ - + + true + + true @@ -78,7 +87,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -92,7 +101,7 @@ rocsparse.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/Libraries/rocSPARSE/level_3/spmm/spmm_vs2017.vcxproj b/Libraries/rocSPARSE/level_3/spmm/spmm_vs2017.vcxproj index e9e36d9df..0bcf88700 100644 --- a/Libraries/rocSPARSE/level_3/spmm/spmm_vs2017.vcxproj +++ b/Libraries/rocSPARSE/level_3/spmm/spmm_vs2017.vcxproj @@ -17,6 +17,12 @@ spmm_vs2017 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -24,7 +30,7 @@ - + PreserveNewest @@ -33,13 +39,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -61,7 +67,10 @@ - + + true + + true @@ -78,7 +87,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -92,7 +101,7 @@ rocsparse.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/Libraries/rocSPARSE/level_3/spmm/spmm_vs2019.vcxproj b/Libraries/rocSPARSE/level_3/spmm/spmm_vs2019.vcxproj index 36dfc6a56..891303da4 100644 --- a/Libraries/rocSPARSE/level_3/spmm/spmm_vs2019.vcxproj +++ b/Libraries/rocSPARSE/level_3/spmm/spmm_vs2019.vcxproj @@ -17,6 +17,12 @@ spmm_vs2019 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -24,7 +30,7 @@ - + PreserveNewest @@ -33,13 +39,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -61,7 +67,10 @@ - + + true + + true @@ -78,7 +87,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -92,7 +101,7 @@ rocsparse.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/Libraries/rocSPARSE/level_3/spmm/spmm_vs2022.vcxproj b/Libraries/rocSPARSE/level_3/spmm/spmm_vs2022.vcxproj index bb3c2cbc8..178306fc2 100644 --- a/Libraries/rocSPARSE/level_3/spmm/spmm_vs2022.vcxproj +++ b/Libraries/rocSPARSE/level_3/spmm/spmm_vs2022.vcxproj @@ -17,6 +17,12 @@ spmm_vs2022 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -24,7 +30,7 @@ - + PreserveNewest @@ -33,13 +39,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -61,7 +67,10 @@ - + + true + + true @@ -78,7 +87,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -92,7 +101,7 @@ rocsparse.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/Libraries/rocSPARSE/level_3/spsm/spsm_vs2017.vcxproj b/Libraries/rocSPARSE/level_3/spsm/spsm_vs2017.vcxproj index 55738c6a3..043f1bffe 100644 --- a/Libraries/rocSPARSE/level_3/spsm/spsm_vs2017.vcxproj +++ b/Libraries/rocSPARSE/level_3/spsm/spsm_vs2017.vcxproj @@ -17,6 +17,12 @@ spsm_vs2017 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -24,7 +30,7 @@ - + PreserveNewest @@ -33,13 +39,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -61,7 +67,10 @@ - + + true + + true @@ -78,7 +87,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -92,7 +101,7 @@ rocsparse.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/Libraries/rocSPARSE/level_3/spsm/spsm_vs2019.vcxproj b/Libraries/rocSPARSE/level_3/spsm/spsm_vs2019.vcxproj index 7c662f69b..30547653b 100644 --- a/Libraries/rocSPARSE/level_3/spsm/spsm_vs2019.vcxproj +++ b/Libraries/rocSPARSE/level_3/spsm/spsm_vs2019.vcxproj @@ -17,6 +17,12 @@ spsm_vs2019 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -24,7 +30,7 @@ - + PreserveNewest @@ -33,13 +39,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -61,7 +67,10 @@ - + + true + + true @@ -78,7 +87,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -92,7 +101,7 @@ rocsparse.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/Libraries/rocSPARSE/level_3/spsm/spsm_vs2022.vcxproj b/Libraries/rocSPARSE/level_3/spsm/spsm_vs2022.vcxproj index 8b8d48973..6b11963b7 100644 --- a/Libraries/rocSPARSE/level_3/spsm/spsm_vs2022.vcxproj +++ b/Libraries/rocSPARSE/level_3/spsm/spsm_vs2022.vcxproj @@ -17,6 +17,12 @@ spsm_vs2022 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -24,7 +30,7 @@ - + PreserveNewest @@ -33,13 +39,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -61,7 +67,10 @@ - + + true + + true @@ -78,7 +87,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -92,7 +101,7 @@ rocsparse.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/Libraries/rocSPARSE/preconditioner/bsric0/bsric0_vs2017.vcxproj b/Libraries/rocSPARSE/preconditioner/bsric0/bsric0_vs2017.vcxproj index d496c79f5..9c6298fad 100644 --- a/Libraries/rocSPARSE/preconditioner/bsric0/bsric0_vs2017.vcxproj +++ b/Libraries/rocSPARSE/preconditioner/bsric0/bsric0_vs2017.vcxproj @@ -17,6 +17,12 @@ bsric0_vs2017 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -24,7 +30,7 @@ - + PreserveNewest @@ -33,13 +39,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -61,7 +67,10 @@ - + + true + + true @@ -78,7 +87,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -92,7 +101,7 @@ rocsparse.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/Libraries/rocSPARSE/preconditioner/bsric0/bsric0_vs2019.vcxproj b/Libraries/rocSPARSE/preconditioner/bsric0/bsric0_vs2019.vcxproj index ec54bc5b0..4e5cbe5e7 100644 --- a/Libraries/rocSPARSE/preconditioner/bsric0/bsric0_vs2019.vcxproj +++ b/Libraries/rocSPARSE/preconditioner/bsric0/bsric0_vs2019.vcxproj @@ -17,6 +17,12 @@ bsric0_vs2019 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -24,7 +30,7 @@ - + PreserveNewest @@ -33,13 +39,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -61,7 +67,10 @@ - + + true + + true @@ -78,7 +87,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -92,7 +101,7 @@ rocsparse.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/Libraries/rocSPARSE/preconditioner/bsric0/bsric0_vs2022.vcxproj b/Libraries/rocSPARSE/preconditioner/bsric0/bsric0_vs2022.vcxproj index dea90b7bd..7835a5102 100644 --- a/Libraries/rocSPARSE/preconditioner/bsric0/bsric0_vs2022.vcxproj +++ b/Libraries/rocSPARSE/preconditioner/bsric0/bsric0_vs2022.vcxproj @@ -17,6 +17,12 @@ bsric0_vs2022 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -24,7 +30,7 @@ - + PreserveNewest @@ -33,13 +39,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -61,7 +67,10 @@ - + + true + + true @@ -78,7 +87,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -92,7 +101,7 @@ rocsparse.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/Libraries/rocSPARSE/preconditioner/bsrilu0/bsrilu0_vs2017.vcxproj b/Libraries/rocSPARSE/preconditioner/bsrilu0/bsrilu0_vs2017.vcxproj index 952064ef5..c74ef2324 100644 --- a/Libraries/rocSPARSE/preconditioner/bsrilu0/bsrilu0_vs2017.vcxproj +++ b/Libraries/rocSPARSE/preconditioner/bsrilu0/bsrilu0_vs2017.vcxproj @@ -17,6 +17,12 @@ bsrilu0_vs2017 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -24,7 +30,7 @@ - + PreserveNewest @@ -33,13 +39,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -61,7 +67,10 @@ - + + true + + true @@ -78,7 +87,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -92,7 +101,7 @@ rocsparse.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/Libraries/rocSPARSE/preconditioner/bsrilu0/bsrilu0_vs2019.vcxproj b/Libraries/rocSPARSE/preconditioner/bsrilu0/bsrilu0_vs2019.vcxproj index 6f8989da4..494cd2e79 100644 --- a/Libraries/rocSPARSE/preconditioner/bsrilu0/bsrilu0_vs2019.vcxproj +++ b/Libraries/rocSPARSE/preconditioner/bsrilu0/bsrilu0_vs2019.vcxproj @@ -17,6 +17,12 @@ bsrilu0_vs2019 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -24,7 +30,7 @@ - + PreserveNewest @@ -33,13 +39,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -61,7 +67,10 @@ - + + true + + true @@ -78,7 +87,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -92,7 +101,7 @@ rocsparse.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/Libraries/rocSPARSE/preconditioner/bsrilu0/bsrilu0_vs2022.vcxproj b/Libraries/rocSPARSE/preconditioner/bsrilu0/bsrilu0_vs2022.vcxproj index e43f371d9..0eb90f73c 100644 --- a/Libraries/rocSPARSE/preconditioner/bsrilu0/bsrilu0_vs2022.vcxproj +++ b/Libraries/rocSPARSE/preconditioner/bsrilu0/bsrilu0_vs2022.vcxproj @@ -17,6 +17,12 @@ bsrilu0_vs2022 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -24,7 +30,7 @@ - + PreserveNewest @@ -33,13 +39,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -61,7 +67,10 @@ - + + true + + true @@ -78,7 +87,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -92,7 +101,7 @@ rocsparse.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/Libraries/rocSPARSE/preconditioner/csric0/csric0_vs2017.vcxproj b/Libraries/rocSPARSE/preconditioner/csric0/csric0_vs2017.vcxproj index b8a3513cd..3aa4ed479 100644 --- a/Libraries/rocSPARSE/preconditioner/csric0/csric0_vs2017.vcxproj +++ b/Libraries/rocSPARSE/preconditioner/csric0/csric0_vs2017.vcxproj @@ -17,6 +17,12 @@ csric0_vs2017 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -24,7 +30,7 @@ - + PreserveNewest @@ -33,13 +39,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -61,7 +67,10 @@ - + + true + + true @@ -78,7 +87,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -92,7 +101,7 @@ rocsparse.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/Libraries/rocSPARSE/preconditioner/csric0/csric0_vs2019.vcxproj b/Libraries/rocSPARSE/preconditioner/csric0/csric0_vs2019.vcxproj index d8bcae1fe..243872c78 100644 --- a/Libraries/rocSPARSE/preconditioner/csric0/csric0_vs2019.vcxproj +++ b/Libraries/rocSPARSE/preconditioner/csric0/csric0_vs2019.vcxproj @@ -17,6 +17,12 @@ csric0_vs2019 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -24,7 +30,7 @@ - + PreserveNewest @@ -33,13 +39,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -61,7 +67,10 @@ - + + true + + true @@ -78,7 +87,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -92,7 +101,7 @@ rocsparse.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/Libraries/rocSPARSE/preconditioner/csric0/csric0_vs2022.vcxproj b/Libraries/rocSPARSE/preconditioner/csric0/csric0_vs2022.vcxproj index 8510f5495..9655a90d0 100644 --- a/Libraries/rocSPARSE/preconditioner/csric0/csric0_vs2022.vcxproj +++ b/Libraries/rocSPARSE/preconditioner/csric0/csric0_vs2022.vcxproj @@ -17,6 +17,12 @@ csric0_vs2022 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -24,7 +30,7 @@ - + PreserveNewest @@ -33,13 +39,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -61,7 +67,10 @@ - + + true + + true @@ -78,7 +87,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -92,7 +101,7 @@ rocsparse.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/Libraries/rocSPARSE/preconditioner/csrilu0/csrilu0_vs2017.vcxproj b/Libraries/rocSPARSE/preconditioner/csrilu0/csrilu0_vs2017.vcxproj index 13341317e..f089f0a08 100644 --- a/Libraries/rocSPARSE/preconditioner/csrilu0/csrilu0_vs2017.vcxproj +++ b/Libraries/rocSPARSE/preconditioner/csrilu0/csrilu0_vs2017.vcxproj @@ -17,6 +17,12 @@ csrilu0_vs2017 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -24,7 +30,7 @@ - + PreserveNewest @@ -33,13 +39,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -61,7 +67,10 @@ - + + true + + true @@ -78,7 +87,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -92,7 +101,7 @@ rocsparse.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/Libraries/rocSPARSE/preconditioner/csrilu0/csrilu0_vs2019.vcxproj b/Libraries/rocSPARSE/preconditioner/csrilu0/csrilu0_vs2019.vcxproj index afba0f715..6a2167158 100644 --- a/Libraries/rocSPARSE/preconditioner/csrilu0/csrilu0_vs2019.vcxproj +++ b/Libraries/rocSPARSE/preconditioner/csrilu0/csrilu0_vs2019.vcxproj @@ -17,6 +17,12 @@ csrilu0_vs2019 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -24,7 +30,7 @@ - + PreserveNewest @@ -33,13 +39,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -61,7 +67,10 @@ - + + true + + true @@ -78,7 +87,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -92,7 +101,7 @@ rocsparse.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/Libraries/rocSPARSE/preconditioner/csrilu0/csrilu0_vs2022.vcxproj b/Libraries/rocSPARSE/preconditioner/csrilu0/csrilu0_vs2022.vcxproj index 9ef8b9bc8..8272565a7 100644 --- a/Libraries/rocSPARSE/preconditioner/csrilu0/csrilu0_vs2022.vcxproj +++ b/Libraries/rocSPARSE/preconditioner/csrilu0/csrilu0_vs2022.vcxproj @@ -17,6 +17,12 @@ csrilu0_vs2022 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -24,7 +30,7 @@ - + PreserveNewest @@ -33,13 +39,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -61,7 +67,10 @@ - + + true + + true @@ -78,7 +87,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -92,7 +101,7 @@ rocsparse.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/Libraries/rocSPARSE/preconditioner/csritilu0/csritilu0_vs2017.vcxproj b/Libraries/rocSPARSE/preconditioner/csritilu0/csritilu0_vs2017.vcxproj index 3aa3ff66b..76a17498b 100644 --- a/Libraries/rocSPARSE/preconditioner/csritilu0/csritilu0_vs2017.vcxproj +++ b/Libraries/rocSPARSE/preconditioner/csritilu0/csritilu0_vs2017.vcxproj @@ -17,6 +17,12 @@ csritilu0_vs2017 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -24,7 +30,7 @@ - + PreserveNewest @@ -33,13 +39,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -61,7 +67,10 @@ - + + true + + true @@ -78,7 +87,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -92,7 +101,7 @@ rocsparse.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/Libraries/rocSPARSE/preconditioner/csritilu0/csritilu0_vs2019.vcxproj b/Libraries/rocSPARSE/preconditioner/csritilu0/csritilu0_vs2019.vcxproj index 88863e314..6f409c590 100644 --- a/Libraries/rocSPARSE/preconditioner/csritilu0/csritilu0_vs2019.vcxproj +++ b/Libraries/rocSPARSE/preconditioner/csritilu0/csritilu0_vs2019.vcxproj @@ -17,6 +17,12 @@ csritilu0_vs2019 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -24,7 +30,7 @@ - + PreserveNewest @@ -33,13 +39,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -61,7 +67,10 @@ - + + true + + true @@ -78,7 +87,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -92,7 +101,7 @@ rocsparse.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/Libraries/rocSPARSE/preconditioner/csritilu0/csritilu0_vs2022.vcxproj b/Libraries/rocSPARSE/preconditioner/csritilu0/csritilu0_vs2022.vcxproj index cc3a997f2..061b92434 100644 --- a/Libraries/rocSPARSE/preconditioner/csritilu0/csritilu0_vs2022.vcxproj +++ b/Libraries/rocSPARSE/preconditioner/csritilu0/csritilu0_vs2022.vcxproj @@ -17,6 +17,12 @@ csritilu0_vs2022 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -24,7 +30,7 @@ - + PreserveNewest @@ -33,13 +39,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -61,7 +67,10 @@ - + + true + + true @@ -78,7 +87,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -92,7 +101,7 @@ rocsparse.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/Libraries/rocSPARSE/preconditioner/gpsv/gpsv_vs2017.vcxproj b/Libraries/rocSPARSE/preconditioner/gpsv/gpsv_vs2017.vcxproj index d74eff7f8..89431ab5c 100644 --- a/Libraries/rocSPARSE/preconditioner/gpsv/gpsv_vs2017.vcxproj +++ b/Libraries/rocSPARSE/preconditioner/gpsv/gpsv_vs2017.vcxproj @@ -17,6 +17,12 @@ gpsv_vs2017 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -24,7 +30,7 @@ - + PreserveNewest @@ -33,13 +39,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -61,7 +67,10 @@ - + + true + + true @@ -78,7 +87,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -92,7 +101,7 @@ rocsparse.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/Libraries/rocSPARSE/preconditioner/gpsv/gpsv_vs2019.vcxproj b/Libraries/rocSPARSE/preconditioner/gpsv/gpsv_vs2019.vcxproj index bda3bc9d9..455c88fe5 100644 --- a/Libraries/rocSPARSE/preconditioner/gpsv/gpsv_vs2019.vcxproj +++ b/Libraries/rocSPARSE/preconditioner/gpsv/gpsv_vs2019.vcxproj @@ -17,6 +17,12 @@ gpsv_vs2019 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -24,7 +30,7 @@ - + PreserveNewest @@ -33,13 +39,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -61,7 +67,10 @@ - + + true + + true @@ -78,7 +87,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -92,7 +101,7 @@ rocsparse.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/Libraries/rocSPARSE/preconditioner/gpsv/gpsv_vs2022.vcxproj b/Libraries/rocSPARSE/preconditioner/gpsv/gpsv_vs2022.vcxproj index 18b357336..9d7f5a105 100644 --- a/Libraries/rocSPARSE/preconditioner/gpsv/gpsv_vs2022.vcxproj +++ b/Libraries/rocSPARSE/preconditioner/gpsv/gpsv_vs2022.vcxproj @@ -17,6 +17,12 @@ gpsv_vs2022 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -24,7 +30,7 @@ - + PreserveNewest @@ -33,13 +39,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -61,7 +67,10 @@ - + + true + + true @@ -78,7 +87,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -92,7 +101,7 @@ rocsparse.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/Libraries/rocSPARSE/preconditioner/gtsv/gtsv_vs2017.vcxproj b/Libraries/rocSPARSE/preconditioner/gtsv/gtsv_vs2017.vcxproj index eca0d8b8a..27293803f 100644 --- a/Libraries/rocSPARSE/preconditioner/gtsv/gtsv_vs2017.vcxproj +++ b/Libraries/rocSPARSE/preconditioner/gtsv/gtsv_vs2017.vcxproj @@ -17,6 +17,12 @@ gtsv_vs2017 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -24,7 +30,7 @@ - + PreserveNewest @@ -33,13 +39,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -61,7 +67,10 @@ - + + true + + true @@ -78,7 +87,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -92,7 +101,7 @@ rocsparse.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/Libraries/rocSPARSE/preconditioner/gtsv/gtsv_vs2019.vcxproj b/Libraries/rocSPARSE/preconditioner/gtsv/gtsv_vs2019.vcxproj index a1238258e..b257dc778 100644 --- a/Libraries/rocSPARSE/preconditioner/gtsv/gtsv_vs2019.vcxproj +++ b/Libraries/rocSPARSE/preconditioner/gtsv/gtsv_vs2019.vcxproj @@ -17,6 +17,12 @@ gtsv_vs2019 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -24,7 +30,7 @@ - + PreserveNewest @@ -33,13 +39,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -61,7 +67,10 @@ - + + true + + true @@ -78,7 +87,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -92,7 +101,7 @@ rocsparse.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/Libraries/rocSPARSE/preconditioner/gtsv/gtsv_vs2022.vcxproj b/Libraries/rocSPARSE/preconditioner/gtsv/gtsv_vs2022.vcxproj index 2d987a3c2..25049387f 100644 --- a/Libraries/rocSPARSE/preconditioner/gtsv/gtsv_vs2022.vcxproj +++ b/Libraries/rocSPARSE/preconditioner/gtsv/gtsv_vs2022.vcxproj @@ -17,6 +17,12 @@ gtsv_vs2022 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -24,7 +30,7 @@ - + PreserveNewest @@ -33,13 +39,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -61,7 +67,10 @@ - + + true + + true @@ -78,7 +87,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -92,7 +101,7 @@ rocsparse.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - + Level2 true diff --git a/Libraries/rocThrust/device_ptr/device_ptr_vs2017.vcxproj b/Libraries/rocThrust/device_ptr/device_ptr_vs2017.vcxproj index 7283e0fbc..4a4055c61 100644 --- a/Libraries/rocThrust/device_ptr/device_ptr_vs2017.vcxproj +++ b/Libraries/rocThrust/device_ptr/device_ptr_vs2017.vcxproj @@ -17,6 +17,12 @@ device_ptr_vs2017 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -27,13 +33,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -55,7 +61,10 @@ - + + true + + true @@ -72,7 +81,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -85,7 +94,7 @@ true - + Level2 true diff --git a/Libraries/rocThrust/device_ptr/device_ptr_vs2019.vcxproj b/Libraries/rocThrust/device_ptr/device_ptr_vs2019.vcxproj index d69b75e39..e8783aa68 100644 --- a/Libraries/rocThrust/device_ptr/device_ptr_vs2019.vcxproj +++ b/Libraries/rocThrust/device_ptr/device_ptr_vs2019.vcxproj @@ -17,6 +17,12 @@ device_ptr_vs2019 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -27,13 +33,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -55,7 +61,10 @@ - + + true + + true @@ -72,7 +81,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -85,7 +94,7 @@ true - + Level2 true diff --git a/Libraries/rocThrust/device_ptr/device_ptr_vs2022.vcxproj b/Libraries/rocThrust/device_ptr/device_ptr_vs2022.vcxproj index bc7960a01..d00fddadd 100644 --- a/Libraries/rocThrust/device_ptr/device_ptr_vs2022.vcxproj +++ b/Libraries/rocThrust/device_ptr/device_ptr_vs2022.vcxproj @@ -17,6 +17,12 @@ device_ptr_vs2022 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -27,13 +33,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -55,7 +61,10 @@ - + + true + + true @@ -72,7 +81,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -85,7 +94,7 @@ true - + Level2 true diff --git a/Libraries/rocThrust/norm/norm_vs2017.vcxproj b/Libraries/rocThrust/norm/norm_vs2017.vcxproj index 4fcadf8dd..884544612 100644 --- a/Libraries/rocThrust/norm/norm_vs2017.vcxproj +++ b/Libraries/rocThrust/norm/norm_vs2017.vcxproj @@ -17,6 +17,12 @@ norm_vs2017 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -27,13 +33,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -55,7 +61,10 @@ - + + true + + true @@ -72,7 +81,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -85,7 +94,7 @@ true - + Level2 true diff --git a/Libraries/rocThrust/norm/norm_vs2019.vcxproj b/Libraries/rocThrust/norm/norm_vs2019.vcxproj index e795d876a..4af48d64a 100644 --- a/Libraries/rocThrust/norm/norm_vs2019.vcxproj +++ b/Libraries/rocThrust/norm/norm_vs2019.vcxproj @@ -17,6 +17,12 @@ norm_vs2019 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -27,13 +33,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -55,7 +61,10 @@ - + + true + + true @@ -72,7 +81,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -85,7 +94,7 @@ true - + Level2 true diff --git a/Libraries/rocThrust/norm/norm_vs2022.vcxproj b/Libraries/rocThrust/norm/norm_vs2022.vcxproj index 8484f4f10..391941e06 100644 --- a/Libraries/rocThrust/norm/norm_vs2022.vcxproj +++ b/Libraries/rocThrust/norm/norm_vs2022.vcxproj @@ -17,6 +17,12 @@ norm_vs2022 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -27,13 +33,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -55,7 +61,10 @@ - + + true + + true @@ -72,7 +81,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -85,7 +94,7 @@ true - + Level2 true diff --git a/Libraries/rocThrust/reduce_sum/reduce_sum_vs2017.vcxproj b/Libraries/rocThrust/reduce_sum/reduce_sum_vs2017.vcxproj index 50c8153f7..297f2e571 100644 --- a/Libraries/rocThrust/reduce_sum/reduce_sum_vs2017.vcxproj +++ b/Libraries/rocThrust/reduce_sum/reduce_sum_vs2017.vcxproj @@ -17,6 +17,12 @@ reduce_sum_vs2017 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -27,13 +33,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -55,7 +61,10 @@ - + + true + + true @@ -72,7 +81,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -85,7 +94,7 @@ true - + Level2 true diff --git a/Libraries/rocThrust/reduce_sum/reduce_sum_vs2019.vcxproj b/Libraries/rocThrust/reduce_sum/reduce_sum_vs2019.vcxproj index 6570e12a5..01fa1ad8c 100644 --- a/Libraries/rocThrust/reduce_sum/reduce_sum_vs2019.vcxproj +++ b/Libraries/rocThrust/reduce_sum/reduce_sum_vs2019.vcxproj @@ -17,6 +17,12 @@ reduce_sum_vs2019 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -27,13 +33,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -55,7 +61,10 @@ - + + true + + true @@ -72,7 +81,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -85,7 +94,7 @@ true - + Level2 true diff --git a/Libraries/rocThrust/reduce_sum/reduce_sum_vs2022.vcxproj b/Libraries/rocThrust/reduce_sum/reduce_sum_vs2022.vcxproj index e4077a3e3..68550dd35 100644 --- a/Libraries/rocThrust/reduce_sum/reduce_sum_vs2022.vcxproj +++ b/Libraries/rocThrust/reduce_sum/reduce_sum_vs2022.vcxproj @@ -17,6 +17,12 @@ reduce_sum_vs2022 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -27,13 +33,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -55,7 +61,10 @@ - + + true + + true @@ -72,7 +81,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -85,7 +94,7 @@ true - + Level2 true diff --git a/Libraries/rocThrust/remove_points/remove_points_vs2017.vcxproj b/Libraries/rocThrust/remove_points/remove_points_vs2017.vcxproj index 660514692..2e1184448 100644 --- a/Libraries/rocThrust/remove_points/remove_points_vs2017.vcxproj +++ b/Libraries/rocThrust/remove_points/remove_points_vs2017.vcxproj @@ -17,6 +17,12 @@ remove_points_vs2017 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -27,13 +33,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -55,7 +61,10 @@ - + + true + + true @@ -72,7 +81,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -85,7 +94,7 @@ true - + Level2 true diff --git a/Libraries/rocThrust/remove_points/remove_points_vs2019.vcxproj b/Libraries/rocThrust/remove_points/remove_points_vs2019.vcxproj index 4539bc9fa..d6e2cbed3 100644 --- a/Libraries/rocThrust/remove_points/remove_points_vs2019.vcxproj +++ b/Libraries/rocThrust/remove_points/remove_points_vs2019.vcxproj @@ -17,6 +17,12 @@ remove_points_vs2019 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -27,13 +33,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -55,7 +61,10 @@ - + + true + + true @@ -72,7 +81,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -85,7 +94,7 @@ true - + Level2 true diff --git a/Libraries/rocThrust/remove_points/remove_points_vs2022.vcxproj b/Libraries/rocThrust/remove_points/remove_points_vs2022.vcxproj index a768b5ed6..224f5b019 100644 --- a/Libraries/rocThrust/remove_points/remove_points_vs2022.vcxproj +++ b/Libraries/rocThrust/remove_points/remove_points_vs2022.vcxproj @@ -17,6 +17,12 @@ remove_points_vs2022 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -27,13 +33,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -55,7 +61,10 @@ - + + true + + true @@ -72,7 +81,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -85,7 +94,7 @@ true - + Level2 true diff --git a/Libraries/rocThrust/saxpy/saxpy_vs2017.vcxproj b/Libraries/rocThrust/saxpy/saxpy_vs2017.vcxproj index 199d4c0fd..0412ce5d2 100644 --- a/Libraries/rocThrust/saxpy/saxpy_vs2017.vcxproj +++ b/Libraries/rocThrust/saxpy/saxpy_vs2017.vcxproj @@ -17,6 +17,12 @@ saxpy_vs2017 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -27,13 +33,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -55,7 +61,10 @@ - + + true + + true @@ -72,7 +81,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -85,7 +94,7 @@ true - + Level2 true diff --git a/Libraries/rocThrust/saxpy/saxpy_vs2019.vcxproj b/Libraries/rocThrust/saxpy/saxpy_vs2019.vcxproj index a2899fbec..b1447d515 100644 --- a/Libraries/rocThrust/saxpy/saxpy_vs2019.vcxproj +++ b/Libraries/rocThrust/saxpy/saxpy_vs2019.vcxproj @@ -17,6 +17,12 @@ saxpy_vs2019 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -27,13 +33,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -55,7 +61,10 @@ - + + true + + true @@ -72,7 +81,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -85,7 +94,7 @@ true - + Level2 true diff --git a/Libraries/rocThrust/saxpy/saxpy_vs2022.vcxproj b/Libraries/rocThrust/saxpy/saxpy_vs2022.vcxproj index e4c3280e2..4e5398d21 100644 --- a/Libraries/rocThrust/saxpy/saxpy_vs2022.vcxproj +++ b/Libraries/rocThrust/saxpy/saxpy_vs2022.vcxproj @@ -17,6 +17,12 @@ saxpy_vs2022 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -27,13 +33,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -55,7 +61,10 @@ - + + true + + true @@ -72,7 +81,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -85,7 +94,7 @@ true - + Level2 true diff --git a/Libraries/rocThrust/vectors/vectors_vs2017.vcxproj b/Libraries/rocThrust/vectors/vectors_vs2017.vcxproj index dd29b73c9..4fc5874ce 100644 --- a/Libraries/rocThrust/vectors/vectors_vs2017.vcxproj +++ b/Libraries/rocThrust/vectors/vectors_vs2017.vcxproj @@ -17,6 +17,12 @@ vectors_vs2017 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -27,13 +33,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -55,7 +61,10 @@ - + + true + + true @@ -72,7 +81,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -85,7 +94,7 @@ true - + Level2 true diff --git a/Libraries/rocThrust/vectors/vectors_vs2019.vcxproj b/Libraries/rocThrust/vectors/vectors_vs2019.vcxproj index ead88b872..48fa83907 100644 --- a/Libraries/rocThrust/vectors/vectors_vs2019.vcxproj +++ b/Libraries/rocThrust/vectors/vectors_vs2019.vcxproj @@ -17,6 +17,12 @@ vectors_vs2019 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -27,13 +33,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -55,7 +61,10 @@ - + + true + + true @@ -72,7 +81,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -85,7 +94,7 @@ true - + Level2 true diff --git a/Libraries/rocThrust/vectors/vectors_vs2022.vcxproj b/Libraries/rocThrust/vectors/vectors_vs2022.vcxproj index 05e111ae1..b179d97db 100644 --- a/Libraries/rocThrust/vectors/vectors_vs2022.vcxproj +++ b/Libraries/rocThrust/vectors/vectors_vs2022.vcxproj @@ -17,6 +17,12 @@ vectors_vs2022 $(LatestTargetPlatformVersion) + + $([System.IO.File]::ReadAllText('$(HIP_PATH)bin\.hipversion')) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MAJOR")),18)),2).Trim()) + $(HIPVersionFileContents.Substring($([MSBuild]::Add($(HIPVersionFileContents.LastIndexOf("HIP_VERSION_MINOR")),18)),2).Trim()) + $(HIPVersionMajor).$(HIPVersionMinor) + @@ -27,13 +33,13 @@ Application true - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode Application false - HIP clang 6.2 + HIP clang $(HIPPathVersion) Unicode @@ -55,7 +61,10 @@ - + + true + + true @@ -72,7 +81,7 @@ true - + Level2 __clang__;__HIP__;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) @@ -85,7 +94,7 @@ true - + Level2 true diff --git a/README.md b/README.md index 1b13e6f5a..dad9df04b 100644 --- a/README.md +++ b/README.md @@ -87,6 +87,12 @@ The repository has Visual Studio project files for all examples and individually - To build in Release mode pass the `/p:Configuration=Release` option to MSBuild. - The executables will be created in a subfolder named "Debug" or "Release" inside the project folder. - The HIP specific project settings like the GPU architectures targeted can be set on the `General [AMD HIP C++]` tab of project properties. +- The HIP_PATH environment variable must be set to point to the location where HIP SDK is installed. + - The HIP SDK installer will set the HIP_PATH during installation. + - HIP_PATH and other environment variables must be set before launching Visual Studio (or the command line interface if using MSBuild); changes made while the process is open will not be reflected. + - The Visual Studio platform toolset will automatically be set to match the HIP SDK version located by HIP_PATH. + - Selecting a platform toolset in the Visual Studio property pages to one that doesn't match the HIP SDK version set in HIP_PATH will result in an unsupported toolset error. + - MSBuild caching may cause some toolset discrepancies in the top level solutions, which can be resolved by setting the toolset in the property pages. - The top level solution files come in two flavors: `ROCm-Examples-VS.sln` and `ROCm-Examples-Portable-VS.sln`. The former contains all examples, while the latter contains the examples that support both ROCm and CUDA. #### CMake