diff --git a/Samples/bf16TensorCoreGemm/Makefile b/Samples/bf16TensorCoreGemm/Makefile index fdce3af2..eb6a30d0 100644 --- a/Samples/bf16TensorCoreGemm/Makefile +++ b/Samples/bf16TensorCoreGemm/Makefile @@ -287,12 +287,12 @@ ifeq ($(TARGET_OS),linux) GCCVERSION := $(shell expr `echo $(GCCVERSIONSTRING)` | cut -f1 -d.) GCCVERSION += $(shell expr `echo $(GCCVERSIONSTRING)` | cut -f2 -d.) GCCVERSION += $(shell expr `echo $(GCCVERSIONSTRING)` | cut -f3 -d.) -# Make sure the version number has at least 3 decimals - GCCVERSION += 00 +# Make sure the version number has at least 4 decimals + GCCVERSION += 000 # Remove spaces from the version number GCCVERSION := $(subst $(space),$(empty),$(GCCVERSION)) -# Crop the version number to 3 decimals. - GCCVERSION := $(shell expr `echo $(GCCVERSION)` | cut -b1-3) +# Crop the version number to 4 decimals. + GCCVERSION := $(shell expr `echo $(GCCVERSION)` | cut -b1-4) #$(warning $(GCCVERSION)) IS_MIN_VERSION := $(shell expr `echo $(GCCVERSION)` \>= 500) diff --git a/Samples/binaryPartitionCG/Makefile b/Samples/binaryPartitionCG/Makefile index 4a108e13..70ca982e 100644 --- a/Samples/binaryPartitionCG/Makefile +++ b/Samples/binaryPartitionCG/Makefile @@ -281,12 +281,12 @@ ifeq ($(TARGET_OS),linux) GCCVERSION := $(shell expr `echo $(GCCVERSIONSTRING)` | cut -f1 -d.) GCCVERSION += $(shell expr `echo $(GCCVERSIONSTRING)` | cut -f2 -d.) GCCVERSION += $(shell expr `echo $(GCCVERSIONSTRING)` | cut -f3 -d.) -# Make sure the version number has at least 3 decimals - GCCVERSION += 00 +# Make sure the version number has at least 4 decimals + GCCVERSION += 000 # Remove spaces from the version number GCCVERSION := $(subst $(space),$(empty),$(GCCVERSION)) -# Crop the version number to 3 decimals. - GCCVERSION := $(shell expr `echo $(GCCVERSION)` | cut -b1-3) +# Crop the version number to 4 decimals. + GCCVERSION := $(shell expr `echo $(GCCVERSION)` | cut -b1-4) #$(warning $(GCCVERSION)) IS_MIN_VERSION := $(shell expr `echo $(GCCVERSION)` \>= 470) diff --git a/Samples/conjugateGradientMultiDeviceCG/Makefile b/Samples/conjugateGradientMultiDeviceCG/Makefile index 9f125347..9e34a89e 100644 --- a/Samples/conjugateGradientMultiDeviceCG/Makefile +++ b/Samples/conjugateGradientMultiDeviceCG/Makefile @@ -299,12 +299,12 @@ ifeq ($(TARGET_OS),linux) GCCVERSION := $(shell expr `echo $(GCCVERSIONSTRING)` | cut -f1 -d.) GCCVERSION += $(shell expr `echo $(GCCVERSIONSTRING)` | cut -f2 -d.) GCCVERSION += $(shell expr `echo $(GCCVERSIONSTRING)` | cut -f3 -d.) -# Make sure the version number has at least 3 decimals - GCCVERSION += 00 +# Make sure the version number has at least 4 decimals + GCCVERSION += 000 # Remove spaces from the version number GCCVERSION := $(subst $(space),$(empty),$(GCCVERSION)) -# Crop the version number to 3 decimals. - GCCVERSION := $(shell expr `echo $(GCCVERSION)` | cut -b1-3) +# Crop the version number to 4 decimals. + GCCVERSION := $(shell expr `echo $(GCCVERSION)` | cut -b1-4) #$(warning $(GCCVERSION)) IS_MIN_VERSION := $(shell expr `echo $(GCCVERSION)` \>= 470) diff --git a/Samples/cudaNvSci/Makefile b/Samples/cudaNvSci/Makefile index ca8e28a2..2c2f1602 100644 --- a/Samples/cudaNvSci/Makefile +++ b/Samples/cudaNvSci/Makefile @@ -292,12 +292,12 @@ ifeq ($(TARGET_OS),linux) GCCVERSION := $(shell expr `echo $(GCCVERSIONSTRING)` | cut -f1 -d.) GCCVERSION += $(shell expr `echo $(GCCVERSIONSTRING)` | cut -f2 -d.) GCCVERSION += $(shell expr `echo $(GCCVERSIONSTRING)` | cut -f3 -d.) -# Make sure the version number has at least 3 decimals - GCCVERSION += 00 +# Make sure the version number has at least 4 decimals + GCCVERSION += 000 # Remove spaces from the version number GCCVERSION := $(subst $(space),$(empty),$(GCCVERSION)) -# Crop the version number to 3 decimals. - GCCVERSION := $(shell expr `echo $(GCCVERSION)` | cut -b1-3) +# Crop the version number to 4 decimals. + GCCVERSION := $(shell expr `echo $(GCCVERSION)` | cut -b1-4) #$(warning $(GCCVERSION)) IS_MIN_VERSION := $(shell expr `echo $(GCCVERSION)` \>= 470) diff --git a/Samples/dmmaTensorCoreGemm/Makefile b/Samples/dmmaTensorCoreGemm/Makefile index f40af361..47aae45d 100644 --- a/Samples/dmmaTensorCoreGemm/Makefile +++ b/Samples/dmmaTensorCoreGemm/Makefile @@ -287,12 +287,12 @@ ifeq ($(TARGET_OS),linux) GCCVERSION := $(shell expr `echo $(GCCVERSIONSTRING)` | cut -f1 -d.) GCCVERSION += $(shell expr `echo $(GCCVERSIONSTRING)` | cut -f2 -d.) GCCVERSION += $(shell expr `echo $(GCCVERSIONSTRING)` | cut -f3 -d.) -# Make sure the version number has at least 3 decimals - GCCVERSION += 00 +# Make sure the version number has at least 4 decimals + GCCVERSION += 000 # Remove spaces from the version number GCCVERSION := $(subst $(space),$(empty),$(GCCVERSION)) -# Crop the version number to 3 decimals. - GCCVERSION := $(shell expr `echo $(GCCVERSION)` | cut -b1-3) +# Crop the version number to 4 decimals. + GCCVERSION := $(shell expr `echo $(GCCVERSION)` | cut -b1-4) #$(warning $(GCCVERSION)) IS_MIN_VERSION := $(shell expr `echo $(GCCVERSION)` \>= 500) diff --git a/Samples/globalToShmemAsyncCopy/Makefile b/Samples/globalToShmemAsyncCopy/Makefile index 155b0336..f1eec668 100644 --- a/Samples/globalToShmemAsyncCopy/Makefile +++ b/Samples/globalToShmemAsyncCopy/Makefile @@ -281,12 +281,12 @@ ifeq ($(TARGET_OS),linux) GCCVERSION := $(shell expr `echo $(GCCVERSIONSTRING)` | cut -f1 -d.) GCCVERSION += $(shell expr `echo $(GCCVERSIONSTRING)` | cut -f2 -d.) GCCVERSION += $(shell expr `echo $(GCCVERSIONSTRING)` | cut -f3 -d.) -# Make sure the version number has at least 3 decimals - GCCVERSION += 00 +# Make sure the version number has at least 4 decimals + GCCVERSION += 000 # Remove spaces from the version number GCCVERSION := $(subst $(space),$(empty),$(GCCVERSION)) -# Crop the version number to 3 decimals. - GCCVERSION := $(shell expr `echo $(GCCVERSION)` | cut -b1-3) +# Crop the version number to 4 decimals. + GCCVERSION := $(shell expr `echo $(GCCVERSION)` | cut -b1-4) #$(warning $(GCCVERSION)) IS_MIN_VERSION := $(shell expr `echo $(GCCVERSION)` \>= 500) diff --git a/Samples/reduction/Makefile b/Samples/reduction/Makefile index ee4a3b23..66618050 100644 --- a/Samples/reduction/Makefile +++ b/Samples/reduction/Makefile @@ -281,12 +281,12 @@ ifeq ($(TARGET_OS),linux) GCCVERSION := $(shell expr `echo $(GCCVERSIONSTRING)` | cut -f1 -d.) GCCVERSION += $(shell expr `echo $(GCCVERSIONSTRING)` | cut -f2 -d.) GCCVERSION += $(shell expr `echo $(GCCVERSIONSTRING)` | cut -f3 -d.) -# Make sure the version number has at least 3 decimals - GCCVERSION += 00 +# Make sure the version number has at least 4 decimals + GCCVERSION += 000 # Remove spaces from the version number GCCVERSION := $(subst $(space),$(empty),$(GCCVERSION)) -# Crop the version number to 3 decimals. - GCCVERSION := $(shell expr `echo $(GCCVERSION)` | cut -b1-3) +# Crop the version number to 4 decimals. + GCCVERSION := $(shell expr `echo $(GCCVERSION)` | cut -b1-4) #$(warning $(GCCVERSION)) IS_MIN_VERSION := $(shell expr `echo $(GCCVERSION)` \>= 470) diff --git a/Samples/simpleAWBarrier/Makefile b/Samples/simpleAWBarrier/Makefile index d11c54c6..888dd5b9 100644 --- a/Samples/simpleAWBarrier/Makefile +++ b/Samples/simpleAWBarrier/Makefile @@ -287,12 +287,12 @@ ifeq ($(TARGET_OS),linux) GCCVERSION := $(shell expr `echo $(GCCVERSIONSTRING)` | cut -f1 -d.) GCCVERSION += $(shell expr `echo $(GCCVERSIONSTRING)` | cut -f2 -d.) GCCVERSION += $(shell expr `echo $(GCCVERSIONSTRING)` | cut -f3 -d.) -# Make sure the version number has at least 3 decimals - GCCVERSION += 00 +# Make sure the version number has at least 4 decimals + GCCVERSION += 000 # Remove spaces from the version number GCCVERSION := $(subst $(space),$(empty),$(GCCVERSION)) -# Crop the version number to 3 decimals. - GCCVERSION := $(shell expr `echo $(GCCVERSION)` | cut -b1-3) +# Crop the version number to 4 decimals. + GCCVERSION := $(shell expr `echo $(GCCVERSION)` | cut -b1-4) #$(warning $(GCCVERSION)) IS_MIN_VERSION := $(shell expr `echo $(GCCVERSION)` \>= 500) diff --git a/Samples/simpleVulkan/Makefile b/Samples/simpleVulkan/Makefile index 390b6eb1..56b62811 100644 --- a/Samples/simpleVulkan/Makefile +++ b/Samples/simpleVulkan/Makefile @@ -309,12 +309,12 @@ ifeq ($(TARGET_OS),linux) GCCVERSION := $(shell expr `echo $(GCCVERSIONSTRING)` | cut -f1 -d.) GCCVERSION += $(shell expr `echo $(GCCVERSIONSTRING)` | cut -f2 -d.) GCCVERSION += $(shell expr `echo $(GCCVERSIONSTRING)` | cut -f3 -d.) -# Make sure the version number has at least 3 decimals - GCCVERSION += 00 +# Make sure the version number has at least 4 decimals + GCCVERSION += 000 # Remove spaces from the version number GCCVERSION := $(subst $(space),$(empty),$(GCCVERSION)) -# Crop the version number to 3 decimals. - GCCVERSION := $(shell expr `echo $(GCCVERSION)` | cut -b1-3) +# Crop the version number to 4 decimals. + GCCVERSION := $(shell expr `echo $(GCCVERSION)` | cut -b1-4) #$(warning $(GCCVERSION)) IS_MIN_VERSION := $(shell expr `echo $(GCCVERSION)` \>= 470) diff --git a/Samples/simpleVulkanMMAP/Makefile b/Samples/simpleVulkanMMAP/Makefile index 92651d14..f71414fe 100644 --- a/Samples/simpleVulkanMMAP/Makefile +++ b/Samples/simpleVulkanMMAP/Makefile @@ -311,12 +311,12 @@ ifeq ($(TARGET_OS),linux) GCCVERSION := $(shell expr `echo $(GCCVERSIONSTRING)` | cut -f1 -d.) GCCVERSION += $(shell expr `echo $(GCCVERSIONSTRING)` | cut -f2 -d.) GCCVERSION += $(shell expr `echo $(GCCVERSIONSTRING)` | cut -f3 -d.) -# Make sure the version number has at least 3 decimals - GCCVERSION += 00 +# Make sure the version number has at least 4 decimals + GCCVERSION += 000 # Remove spaces from the version number GCCVERSION := $(subst $(space),$(empty),$(GCCVERSION)) -# Crop the version number to 3 decimals. - GCCVERSION := $(shell expr `echo $(GCCVERSION)` | cut -b1-3) +# Crop the version number to 4 decimals. + GCCVERSION := $(shell expr `echo $(GCCVERSION)` | cut -b1-4) #$(warning $(GCCVERSION)) IS_MIN_VERSION := $(shell expr `echo $(GCCVERSION)` \>= 470) diff --git a/Samples/tf32TensorCoreGemm/Makefile b/Samples/tf32TensorCoreGemm/Makefile index 9bfa32d2..7488604c 100644 --- a/Samples/tf32TensorCoreGemm/Makefile +++ b/Samples/tf32TensorCoreGemm/Makefile @@ -287,12 +287,12 @@ ifeq ($(TARGET_OS),linux) GCCVERSION := $(shell expr `echo $(GCCVERSIONSTRING)` | cut -f1 -d.) GCCVERSION += $(shell expr `echo $(GCCVERSIONSTRING)` | cut -f2 -d.) GCCVERSION += $(shell expr `echo $(GCCVERSIONSTRING)` | cut -f3 -d.) -# Make sure the version number has at least 3 decimals - GCCVERSION += 00 +# Make sure the version number has at least 4 decimals + GCCVERSION += 000 # Remove spaces from the version number GCCVERSION := $(subst $(space),$(empty),$(GCCVERSION)) -# Crop the version number to 3 decimals. - GCCVERSION := $(shell expr `echo $(GCCVERSION)` | cut -b1-3) +# Crop the version number to 4 decimals. + GCCVERSION := $(shell expr `echo $(GCCVERSION)` | cut -b1-4) #$(warning $(GCCVERSION)) IS_MIN_VERSION := $(shell expr `echo $(GCCVERSION)` \>= 500) diff --git a/Samples/vulkanImageCUDA/Makefile b/Samples/vulkanImageCUDA/Makefile index c229af9a..ccfd3ab7 100644 --- a/Samples/vulkanImageCUDA/Makefile +++ b/Samples/vulkanImageCUDA/Makefile @@ -309,12 +309,12 @@ ifeq ($(TARGET_OS),linux) GCCVERSION := $(shell expr `echo $(GCCVERSIONSTRING)` | cut -f1 -d.) GCCVERSION += $(shell expr `echo $(GCCVERSIONSTRING)` | cut -f2 -d.) GCCVERSION += $(shell expr `echo $(GCCVERSIONSTRING)` | cut -f3 -d.) -# Make sure the version number has at least 3 decimals - GCCVERSION += 00 +# Make sure the version number has at least 4 decimals + GCCVERSION += 000 # Remove spaces from the version number GCCVERSION := $(subst $(space),$(empty),$(GCCVERSION)) -# Crop the version number to 3 decimals. - GCCVERSION := $(shell expr `echo $(GCCVERSION)` | cut -b1-3) +# Crop the version number to 4 decimals. + GCCVERSION := $(shell expr `echo $(GCCVERSION)` | cut -b1-4) #$(warning $(GCCVERSION)) IS_MIN_VERSION := $(shell expr `echo $(GCCVERSION)` \>= 470) diff --git a/Samples/warpAggregatedAtomicsCG/Makefile b/Samples/warpAggregatedAtomicsCG/Makefile index 71942c7e..2f989a58 100644 --- a/Samples/warpAggregatedAtomicsCG/Makefile +++ b/Samples/warpAggregatedAtomicsCG/Makefile @@ -275,12 +275,12 @@ ifeq ($(TARGET_OS),linux) GCCVERSION := $(shell expr `echo $(GCCVERSIONSTRING)` | cut -f1 -d.) GCCVERSION += $(shell expr `echo $(GCCVERSIONSTRING)` | cut -f2 -d.) GCCVERSION += $(shell expr `echo $(GCCVERSIONSTRING)` | cut -f3 -d.) -# Make sure the version number has at least 3 decimals - GCCVERSION += 00 +# Make sure the version number has at least 4 decimals + GCCVERSION += 000 # Remove spaces from the version number GCCVERSION := $(subst $(space),$(empty),$(GCCVERSION)) -# Crop the version number to 3 decimals. - GCCVERSION := $(shell expr `echo $(GCCVERSION)` | cut -b1-3) +# Crop the version number to 4 decimals. + GCCVERSION := $(shell expr `echo $(GCCVERSION)` | cut -b1-4) #$(warning $(GCCVERSION)) IS_MIN_VERSION := $(shell expr `echo $(GCCVERSION)` \>= 470)