提交 abf3e41e 编写于 作者: L Liangliang He

Add TODO for kernel work group size

上级 65e6f075
...@@ -46,6 +46,7 @@ void ResizeBilinearFunctor<DeviceType::OPENCL, float>::operator()( ...@@ -46,6 +46,7 @@ void ResizeBilinearFunctor<DeviceType::OPENCL, float>::operator()(
rb_kernel, cl::NullRange, rb_kernel, cl::NullRange,
cl::NDRange(static_cast<int>(batch * channels), cl::NDRange(static_cast<int>(batch * channels),
static_cast<int>(out_height), static_cast<int>(out_width)), static_cast<int>(out_height), static_cast<int>(out_width)),
// TODO (heliangliang) tuning and fix when kwg_size < devisor
cl::NDRange(1, 16, kwg_size / 16)); cl::NDRange(1, 16, kwg_size / 16));
MACE_CHECK(error == CL_SUCCESS, error); MACE_CHECK(error == CL_SUCCESS, error);
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册