summaryrefslogtreecommitdiff
path: root/src/routines/common.cpp
diff options
context:
space:
mode:
authorCedric Nugteren <web@cedricnugteren.nl>2018-03-15 21:09:52 +0100
committerCedric Nugteren <web@cedricnugteren.nl>2018-03-15 21:09:52 +0100
commit52791bf3553bb47a50dea4ac234f7e1b09c4383c (patch)
treeeca393f57e6ac7358bba255ee454e0652c2a4506 /src/routines/common.cpp
parent7a756cbce7e3e025ec9fbadd717a32d4711262ad (diff)
Fixed a failing TRSM test using a CPU with Apple OpenCL
Diffstat (limited to 'src/routines/common.cpp')
-rw-r--r--src/routines/common.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/routines/common.cpp b/src/routines/common.cpp
index f50e75cf..a4d1f577 100644
--- a/src/routines/common.cpp
+++ b/src/routines/common.cpp
@@ -89,8 +89,8 @@ void FillMatrix(Queue &queue, const Device &device,
kernel.SetArgument(3, static_cast<int>(offset));
kernel.SetArgument(4, dest());
kernel.SetArgument(5, GetRealArg(constant_value));
- auto local = std::vector<size_t>{8, 8};
- auto global = std::vector<size_t>{Ceil(m, 8), Ceil(n, 8)};
+ auto local = std::vector<size_t>{16, 1};
+ auto global = std::vector<size_t>{Ceil(m, 16), n};
RunKernel(kernel, queue, device, global, local, event, waitForEvents);
}