mirror of https://github.com/QMCPACK/qmcpack.git
Output warning for non-mixed precision complex GPU builds that results will be wrong.
This commit is contained in:
parent
d7b5cd2b89
commit
d1b3c8e0b6
|
@ -83,6 +83,11 @@ IF(QMC_CUDA)
|
|||
IF(QMC_MIXED_PRECISION)
|
||||
SET(CUDA_PRECISION float)
|
||||
ELSE(QMC_MIXED_PRECISION)
|
||||
IF(QMC_COMPLEX)
|
||||
MESSAGE(" WARNING: Complex GPU code is not recommended")
|
||||
MESSAGE(" for the chosen CUDA base precision.")
|
||||
MESSAGE(" Calculation results will be wrong.")
|
||||
ENDIF()
|
||||
SET(CUDA_PRECISION double)
|
||||
ENDIF(QMC_MIXED_PRECISION)
|
||||
MESSAGE(" Base precision = ${OHMMS_PRECISION}")
|
||||
|
|
Loading…
Reference in New Issue