You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
option(ENABLE_SCALAPACK"Enable ScaLAPACK Bindings in TiledArray"OFF)
121
-
add_feature_info(ScaLAPACKENABLE_SCALAPACK"ScaLAPACK provides distributed linear algebra")
120
+
option(TA_SCALAPACK"Enable ScaLAPACK Bindings in TiledArray"OFF)
121
+
add_feature_info(ScaLAPACKTA_SCALAPACK"ScaLAPACK provides distributed linear algebra")
122
122
123
-
option(ENABLE_WFN91_LINALG_DISCOVERY_KIT"Use linear algebra discovery kit from github.com/wavefunction91 [recommended]"ON)
124
-
add_feature_info(WFN91LinearAlgebraDiscoveryKitENABLE_WFN91_LINALG_DISCOVERY_KIT"Linear algebra discovery kit from github.com/wavefunction91 supports many more corner cases than the default CMake modules and/or ICL's BLAS++/LAPACK++ modules")
123
+
option(TA_LINALG_DISCOVERY_KIT"Use linear algebra discovery kit from github.com/wavefunction91 [recommended]"ON)
124
+
add_feature_info(WFN91LinearAlgebraDiscoveryKitTA_LINALG_DISCOVERY_KIT"Linear algebra discovery kit from github.com/wavefunction91 supports many more corner cases than the default CMake modules and/or ICL's BLAS++/LAPACK++ modules")
125
125
126
-
redefaultable_option(ENABLE_TBB"Enable use of TBB with MADNESS"OFF)
option(TA_CUDA"Enables use of NVIDIA CUDA-supported hardware (such as NVIDIA GPUs) by TiledArray"OFF)
127
+
add_feature_info(CUDATA_CUDA"Use of NVIDIA CUDA-supported hardware by TiledArray")
128
128
129
-
option(ENABLE_CUDA"Enable use of CUDA with TiledArray"OFF)
130
-
add_feature_info(CUDAENABLE_CUDA"NVIDIA CUDA support for GPU")
131
-
132
-
option(ENABLE_HIP"Enable use of HIP with TiledArray"OFF)
133
-
add_feature_info(HIPENABLE_HIP"AMD HIP/ROCm support for GPU")
129
+
option(TA_HIP"Enables use of AMD HIP-supported hardware (such as AMD GPUs) by TiledArray"OFF)
130
+
add_feature_info(HIPTA_HIP"Use of AMD HIP-supported hardware by TiledArray")
134
131
135
132
option(ENABLE_GPERFTOOLS"Enable linking with Gperftools"OFF)
136
133
add_feature_info(GPERFTOOLSENABLE_GPERFTOOLS"Google Performance Tools provide fast memory allocation and performance profiling")
@@ -147,6 +144,9 @@ add_feature_info(TENSOR_MEM_TRACE TA_TENSOR_MEM_TRACE "instrumented tracing of T
147
144
option(TA_TENSOR_MEM_PROFILE"Turn on instrumented profiling of TA::Tensor memory use"${TA_TENSOR_MEM_TRACE})
148
145
add_feature_info(TENSOR_MEM_PROFILETA_TENSOR_MEM_PROFILE"instrumented profiling of TA::Tensor memory use")
149
146
147
+
option(TA_TENSOR_ASSERT_NO_MUTABLE_OPS_WHILE_SHARED"Turn on TA_ASSERT that no mutable operations occur on TA::{Tensor,Tile} objects that share data"OFF)
148
+
add_feature_info(TENSOR_ASSERT_NO_MUTABLE_OPS_WHILE_SHAREDTA_TENSOR_ASSERT_NO_MUTABLE_OPS_WHILE_SHARED"TA_ASSERT that no mutable operations occur on TA::{Tensor,Tile} objects that share data")
149
+
150
150
option(TA_EXPERT"TiledArray Expert mode: disables automatically downloading or building dependencies"OFF)
151
151
152
152
option(TA_SIGNED_1INDEX_TYPE"Enables the use of signed 1-index coordinate type (OFF in 1.0.0-alpha.2 and older)"ON)
@@ -261,17 +261,13 @@ vgkit_cmake_git_metadata()
261
261
##########################
262
262
# Check compiler features
263
263
##########################
264
-
# need C++17, insist on strict standard
265
-
set(CMAKE_CXX_STANDARD17CACHESTRING"C++ ISO Standard version")
266
-
if (NOT(CMAKE_CXX_STANDARDEQUAL17ORCMAKE_CXX_STANDARDEQUAL20))
267
-
message(FATAL_ERROR"C++ 2017 ISO Standard or higher is required to compile TiledArray")
268
-
endif()
269
-
# C++20 is only configurable via compile features with cmake 3.12 and older
270
-
if (CMAKE_CXX_STANDARDEQUAL20ANDCMAKE_VERSIONVERSION_LESS3.12.0)
271
-
cmake_minimum_required (VERSION3.12.0)
264
+
# need C++20, insist on strict standard
265
+
set(CMAKE_CXX_STANDARD20CACHESTRING"C++ ISO Standard version")
266
+
if (CMAKE_CXX_STANDARDLESS20)
267
+
message(FATAL_ERROR"C++ 2020 ISO Standard or higher is required to compile TiledArray")
272
268
endif()
273
269
set(CMAKE_CXX_STANDARD_REQUIREDON)
274
-
set(CMAKE_CXX_EXTENSIONSOFFCACHEBOOL"Whether to use extensions of C++ ISO Standard version")
270
+
set(CMAKE_CXX_EXTENSIONSOFFCACHEBOOL"Whether to use extensions of C++ ISO Standard version")
0 commit comments