Skip to content

Commit 92fc2f5

Browse files
[OpenCL] Fix typo bug when tune on (#6563)
1 parent 28605ee commit 92fc2f5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lite/backends/opencl/cl_runtime.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -859,6 +859,7 @@ void CLRuntime::set_auto_tune(lite_api::CLTuneMode tune_mode,
859859
} else {
860860
LOG(INFO) << "Not found tuned file:" << tuned_file;
861861
}
862+
command_queue_ = CreateCommandQueue(context());
862863
}
863864

864865
bool CLRuntime::HasTunedLocalWorkSizeMap(const std::string& key,

0 commit comments

Comments
 (0)