Skip to content

Commit

Permalink
Merge pull request #1654 from babakpst/cxx_17
Browse files Browse the repository at this point in the history
Hotfix: updating CXX_STANDARD to 17
  • Loading branch information
babakpst authored Jan 27, 2023
2 parents 9ddc2c9 + 4139ac0 commit e8a3c7d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion HostLibraryTests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
4 changes: 2 additions & 2 deletions Tensile/Source/client/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down Expand Up @@ -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)

Expand Down
2 changes: 1 addition & 1 deletion Tensile/Source/lib/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit e8a3c7d

Please sign in to comment.