summaryrefslogtreecommitdiff
path: root/src/routine.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/routine.cpp')
-rw-r--r--src/routine.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/routine.cpp b/src/routine.cpp
index 2df6d563..ed1b58ee 100644
--- a/src/routine.cpp
+++ b/src/routine.cpp
@@ -97,6 +97,7 @@ void Routine::InitProgram(std::initializer_list<const char *> source) {
&has_binary);
if (has_binary) {
program_ = std::make_shared<Program>(device_, context_, binary);
+ SetOpenCLKernelStandard(device_, options);
program_->Build(device_, options);
ProgramCache::Instance().Store(ProgramKey{ context_(), device_(), precision_, routine_info },
std::shared_ptr<Program>{program_});