aiqm / torchani

Accurate Neural Network Potential on PyTorch
https://aiqm.github.io/torchani/
MIT License
460 stars 127 forks source link

[CUAEV] Remove (if constexpr) c++17 feature #574

Closed yueyericardo closed 3 years ago

yueyericardo commented 3 years ago

nvcc<11 does not have (if constexpr) c++17 feature, which will lead to compilation failed on cuda versions < 11.0