-
Notifications
You must be signed in to change notification settings - Fork 82
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
vex::build_sources() dumps compiled program binaries to filesystem. These are automatically reused in subsequent program launches. Binaries are stored in ~/.vexcl on Linux and in %APPDATA%/vexcl on Windows. File names are SHA1 hashes of concatenated sourses, device name and platform, and compile options. The caching results on drop of time for running all tests (on AMD platform) from 34 to 2 seconds. However this could also result in some unforseen problems, so this is disabled by default. In order to enable offline kernel caching, user has to define VEXCL_CACHE_KERNELS preprocessor macro. Note that this does not affect online kernel caching, which is always enabled.
- Loading branch information
Showing
2 changed files
with
140 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