提交 8fae54d1 编写于 作者: 李寅

Merge branch 'fix-tuning-2d-bug' into 'master'

Fix the bug: tuning 2d lws for gpu do not work.

See merge request !669
......@@ -408,7 +408,7 @@ void TuningOrRun2DKernel(const cl::Kernel &kernel,
{kwg_size / 128, 128, 0}, {kwg_size / 256, 256, 0},
{kwg_size, 1, 0}, {1, kwg_size, 0}};
for (auto &ele : candidates) {
const uint32_t tmp = ele[0] * ele[1] * ele[2];
const uint32_t tmp = ele[0] * ele[1];
if (0 < tmp && tmp <= kwg_size) {
results.push_back(ele);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册