提交 a9bb9fcc 编写于 作者: xiebaiyuan's avatar xiebaiyuan

[LITE][OPENCL][Image] use unique_ptr to wrap filter and bias in conv image compute , test=develop

上级 6bfde764
...@@ -42,10 +42,6 @@ class ScaleComputeImage2D : public KernelLite<TARGET(kOpenCL), ...@@ -42,10 +42,6 @@ class ScaleComputeImage2D : public KernelLite<TARGET(kOpenCL),
build_options_, build_options_,
time_stamp_); time_stamp_);
VLOG(1) << "kernel_func_name_:" << kernel_func_name_; VLOG(1) << "kernel_func_name_:" << kernel_func_name_;
STL::stringstream kernel_key;
kernel_key << kernel_func_name_ << build_options_ << time_stamp_;
auto kernel = context.cl_context()->GetKernel(kernel_key.str());
} }
void ReInitWhenNeeded() override { void ReInitWhenNeeded() override {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册