diff options
author | Cedric Nugteren <web@cedricnugteren.nl> | 2018-03-15 20:58:42 +0100 |
---|---|---|
committer | Cedric Nugteren <web@cedricnugteren.nl> | 2018-03-15 20:58:42 +0100 |
commit | 7a756cbce7e3e025ec9fbadd717a32d4711262ad (patch) | |
tree | 292cef2b032079d31e5f6cf5fd804bb7ee4110e6 /src/routines | |
parent | f4d96e80c385404a59a17588386d4115fd0bef6b (diff) |
Fixed a failing TRSV test using a CPU with Apple OpenCL
Diffstat (limited to 'src/routines')
-rw-r--r-- | src/routines/common.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/routines/common.cpp b/src/routines/common.cpp index 5b178e53..f50e75cf 100644 --- a/src/routines/common.cpp +++ b/src/routines/common.cpp @@ -125,8 +125,8 @@ void FillVector(Queue &queue, const Device &device, kernel.SetArgument(2, static_cast<int>(offset)); kernel.SetArgument(3, dest()); kernel.SetArgument(4, GetRealArg(constant_value)); - auto local = std::vector<size_t>{64}; - auto global = std::vector<size_t>{Ceil(n, 64)}; + auto local = std::vector<size_t>{16}; + auto global = std::vector<size_t>{Ceil(n, 16)}; RunKernel(kernel, queue, device, global, local, event, waitForEvents); } |