未验证 提交 4539964b 编写于 作者: Z zhaoyang-star 提交者: GitHub

[BACKEND][OPENCL] Delete redundant calling: InitializeDevice. test=develop (#4186)

* [OpenCL] Delete redundant calling: InitializeDevice. test=develop
上级 e5eb0405
......@@ -74,7 +74,6 @@ class CLRuntime {
// 1. opencl_lib_found must be true
// 2. dlsym_success must be true
InitializeDevice();
bool support_fp16 =
static_cast<bool>(device_info_["CL_DEVICE_EXTENSIONS_FP16"]);
#ifdef LITE_WITH_LOG
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册