kokkos: use std::enable_if_t and std::is_same_v

This commit is contained in:
Richard Berger
2023-04-22 16:06:40 -06:00
parent 1991332887
commit d3b48a9346
70 changed files with 205 additions and 205 deletions

View File

@ -43,7 +43,7 @@ MLIAPModelPythonKokkos<DeviceType>::MLIAPModelPythonKokkos(LAMMPS *lmp, char *co
MLIAPModelPython(lmp,coefffilename,true),
MLIAPModelKokkos<DeviceType>(lmp, this)
{
if (!std::is_same<DeviceType,LMPDeviceType>::value )
if (!std::is_same_v<DeviceType,LMPDeviceType> )
MLIAPModelKokkos<DeviceType>::error->all(FLERR, "MLIAP Kokkos version of the python interface is ONLY available on device");
model_loaded = 0;