diff options
author | Cedric Nugteren <web@cedricnugteren.nl> | 2018-05-01 20:34:48 +0200 |
---|---|---|
committer | Cedric Nugteren <web@cedricnugteren.nl> | 2018-05-01 20:34:48 +0200 |
commit | 8258321a74f5b44a559c91bb0adb1358d22da801 (patch) | |
tree | 153d7f37e6629f0404a0da7b2110b25ea0a7dfdc /src/utilities/compile.hpp | |
parent | b2248a17ae24ba72618d80b98196221049cc3933 (diff) |
Now stores a shared_ptr to the Program class in the cache
Diffstat (limited to 'src/utilities/compile.hpp')
-rw-r--r-- | src/utilities/compile.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/utilities/compile.hpp b/src/utilities/compile.hpp index 1b4f4a7a..13e8c363 100644 --- a/src/utilities/compile.hpp +++ b/src/utilities/compile.hpp @@ -24,7 +24,8 @@ namespace clblast { // ================================================================================================= // Compiles a program from source code -Program CompileFromSource(const std::string &source_string, const Precision precision, +std::shared_ptr<Program> CompileFromSource( + const std::string &source_string, const Precision precision, const std::string &routine_name, const Device& device, const Context& context, std::vector<std::string>& options, |