X-Git-Url: http://biod.pnpi.spb.ru/gitweb/?a=blobdiff_plain;f=src%2Fgromacs%2Fmdlib%2Fupdate_constrain_gpu_impl.cpp;h=601a740e0521bc37276575ed692d1fce9b6fe262;hb=e421b4ad103c44e5c66f6aac989157e6c5588d3d;hp=f0cf01c65d71c04d7abcf2b65f452c276c6c4025;hpb=624e3341d38327f8640de8cacc24a9fe3a221233;p=alexxy%2Fgromacs.git diff --git a/src/gromacs/mdlib/update_constrain_gpu_impl.cpp b/src/gromacs/mdlib/update_constrain_gpu_impl.cpp index f0cf01c65d..601a740e05 100644 --- a/src/gromacs/mdlib/update_constrain_gpu_impl.cpp +++ b/src/gromacs/mdlib/update_constrain_gpu_impl.cpp @@ -68,7 +68,7 @@ #include "gromacs/timing/wallcycle.h" #include "gromacs/topology/mtop_util.h" -static constexpr bool sc_haveGpuConstraintSupport = bool(GMX_GPU_CUDA) || bool(GMX_GPU_SYCL); +static constexpr bool sc_haveGpuConstraintSupport = (GMX_GPU_CUDA != 0) || (GMX_GPU_SYCL != 0); namespace gmx {