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

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

上级 e0a319ae
......@@ -45,11 +45,6 @@ class GridSamplerImageCompute : public KernelLite<TARGET(kOpenCL),
build_options_,
time_stamp_);
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());
VLOG(4) << "kernel_key: " << kernel_key.str();
}
void ReInitWhenNeeded() override {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册