getkeops / keops

KErnel OPerationS, on CPUs and GPUs, with autodiff and without memory overflows
https://www.kernel-operations.io
MIT License
1.05k stars 64 forks source link

Make utils.py compatible with Windows #131

Closed neonbjb closed 3 years ago

neonbjb commented 3 years ago

The fcntl module is not available in Windows, but the rest of this module should work fine on the OS. This PR should move fcntl to a local import so that Windows works unless FileLock is used.

neonbjb commented 3 years ago

Errr nevermind, it looks like FileLock is actually critical to the compilation operation. Withdrawn.