kosiokarchev / phytorch

Utilities for physics with PyTorch
GNU General Public License v3.0
7 stars 2 forks source link

Make extensions compilable on cpu-only systems #5

Closed kosiokarchev closed 1 year ago

kosiokarchev commented 1 year ago

Make it possible to compile the extensions even if CUDA (nvcc) is unavailable.

Warning "hyper" functions from the special extension don't currently work on GPU (and are very silent about it) because of __host__-only functions from the standard library (related to std::vector)