-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add QUATERNIONIC_DISABLE_CACHE environment variable.
It may not always be desirable to cache the Numba-generated code, for example in a HPC environment where having lots of workers each compiling the code may be preferable to them all trying to load it from the cache. This adds a QUATERNIONIC_DISABLE_CACHE environment variable. If set to 1, the `cache` parameter of the `jit` and `guvectorize` decorators is set to False. Default behaviour remains the same as before, i.e., to use the cache.
- Loading branch information
Showing
3 changed files
with
48 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters