From 4139ac060094070e99a784ea130b2b84a1e3d1e5 Mon Sep 17 00:00:00 2001 From: Babak Date: Tue, 17 Jan 2023 16:19:02 +0000 Subject: [PATCH] updating CXX_STANDARD to 17 --- HostLibraryTests/CMakeLists.txt | 2 +- Tensile/Source/client/CMakeLists.txt | 4 ++-- Tensile/Source/lib/CMakeLists.txt | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/HostLibraryTests/CMakeLists.txt b/HostLibraryTests/CMakeLists.txt index 33c509b12..db829bea5 100644 --- a/HostLibraryTests/CMakeLists.txt +++ b/HostLibraryTests/CMakeLists.txt @@ -26,7 +26,7 @@ cmake_minimum_required(VERSION 3.13) project(TensileHostLibraryTest) -set( CMAKE_CXX_STANDARD 14 ) +set( CMAKE_CXX_STANDARD 17 ) set( CMAKE_CXX_EXTENSIONS OFF ) list(APPEND CMAKE_PREFIX_PATH $ENV{ROCM_PATH} /opt/rocm) diff --git a/Tensile/Source/client/CMakeLists.txt b/Tensile/Source/client/CMakeLists.txt index f4a13dd72..a9ac80a91 100644 --- a/Tensile/Source/client/CMakeLists.txt +++ b/Tensile/Source/client/CMakeLists.txt @@ -51,7 +51,7 @@ add_library(TensileClient STATIC ${client_sources}) set_target_properties(TensileClient PROPERTIES - CXX_STANDARD 14 + CXX_STANDARD 17 CXX_STANDARD_REQUIRED ON CXX_EXTENSIONS OFF) @@ -83,7 +83,7 @@ endif() add_executable(tensile_client main.cpp) set_target_properties(tensile_client PROPERTIES - CXX_STANDARD 14 + CXX_STANDARD 17 CXX_STANDARD_REQUIRED ON CXX_EXTENSIONS OFF) diff --git a/Tensile/Source/lib/CMakeLists.txt b/Tensile/Source/lib/CMakeLists.txt index 9c3df10b3..47a5d15d3 100644 --- a/Tensile/Source/lib/CMakeLists.txt +++ b/Tensile/Source/lib/CMakeLists.txt @@ -86,7 +86,7 @@ add_library (TensileHost STATIC ${tensile_sources}) set_target_properties(TensileHost PROPERTIES - CXX_STANDARD 14 + CXX_STANDARD 17 CXX_STANDARD_REQUIRED ON CXX_EXTENSIONS OFF)