File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -44,16 +44,16 @@ include(CheckLanguage)
4444check_language (CUDA )
4545if (CMAKE_CUDA_COMPILER)
4646 enable_language (CUDA )
47- message (VERBOSE "Have ${CMAKE_CUDA_COMPILER} ${CMAKE_CUDA_COMPILER_VERSION} " )
4847else ()
4948 # If CUDA is not available, check for HIP as an alternative.
50- message (VERBOSE "Did not find CUDA compiler; cannot support CUDA. " )
49+ message (STATUS "CUDA not available; looking for a HIP compiler " )
5150 find_program (_HIP_COMPILER hipcc )
5251 if (_HIP_COMPILER)
5352 enable_language (HIP )
54- message (VERBOSE "Found hipcc. Enabling HIP support. " )
53+ message (STATUS "CUDA not available; looking for a HIP compiler - found " )
5554 else ()
56- message (VERBOSE "Did not find hipcc; cannot support HIP." )
55+ message (STATUS "CUDA not available; looking for a HIP compiler - not found" )
56+ message (STATUS "(Without CUDA or HIP, qsim cannot use GPUs for acceleration)" )
5757 endif ()
5858endif ()
5959
@@ -127,8 +127,3 @@ if(APPLE)
127127 "/opt/homebrew/opt/llvm@19/lib"
128128 )
129129endif ()
130-
131- # ~~~~~ Print info for debugging ~~~~~
132-
133- message (DEBUG "Shell $PATH = $ENV{PATH} " )
134- message (DEBUG "Shell $CUQUANTUM_ROOT = $ENV{CUQUANTUM_ROOT} " )
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ include(CheckCXXSourceRuns)
1818macro (check_cpu_support _FEATURE_STRING _FEATURE_FLAG )
1919 set (${_FEATURE_FLAG} FALSE )
2020
21- message (STATUS "Testing platform support for ${_FEATURE_STRING} … " )
21+ message (STATUS "Testing platform support for ${_FEATURE_STRING} " )
2222 if (WIN32 )
2323 # On Windows, there's no built-in method to learn the CPU flags. Third-
2424 # party tools exist, but downloading & running them is a security risk.
@@ -66,8 +66,11 @@ macro(check_cpu_support _FEATURE_STRING _FEATURE_FLAG)
6666 endif ()
6767 endif ()
6868
69- message (STATUS "Testing hardware for ${_FEATURE_STRING} … Done." )
70- message (STATUS "${_FEATURE_FLAG} = ${${_FEATURE_FLAG} }" )
69+ if (${_FEATURE_FLAG} )
70+ message (STATUS "Testing platform support for ${_FEATURE_STRING} - found" )
71+ else ()
72+ message (STATUS "Testing platform support for ${_FEATURE_STRING} - not found" )
73+ endif ()
7174endmacro ()
7275
7376# Small Windows C++ program to test bits in certain Intel CPU registers.
You can’t perform that action at this time.
0 commit comments