diff options
author | Cedric Nugteren <web@cedricnugteren.nl> | 2019-05-19 14:00:18 +0200 |
---|---|---|
committer | Cedric Nugteren <web@cedricnugteren.nl> | 2019-05-19 14:00:18 +0200 |
commit | 3f9d7bca22e9d689881dcb195f1091a1175a2ed0 (patch) | |
tree | f743809452bd729f7521fe757ab148aec5da8306 /src/kernels | |
parent | 500d19be4c4f86f8b4c8edf36bd4e25404afe15d (diff) |
Fixed a bug in the absolute-min index kernel
Diffstat (limited to 'src/kernels')
-rw-r--r-- | src/kernels/level1/xamax.opencl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kernels/level1/xamax.opencl b/src/kernels/level1/xamax.opencl index 27add015..e65acf17 100644 --- a/src/kernels/level1/xamax.opencl +++ b/src/kernels/level1/xamax.opencl @@ -41,7 +41,7 @@ void Xamax(const int n, const int num_groups = get_num_groups(0); // Performs loading and the first steps of the reduction - #if defined(ROUTINE_MAX) || defined(ROUTINE_MIN) // non-absolute version + #if defined(ROUTINE_MAX) || defined(ROUTINE_MIN) || defined(ROUTINE_AMIN) singlereal max = SMALLEST; #else singlereal max = ZERO; |