Merge pull request #360 from CNugteren/CLBlast-359-fix-broken-iamin

Fixed a bug in the absolute-min index kernel
pull/368/head
Cedric Nugteren 2019-05-19 22:39:26 +02:00 committed by GitHub
commit ec501055f9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -1,5 +1,6 @@
Development (next version)
- Implemented single-kernel version of convolution as GEMM
- Fixed a bug in ISAMIN kernel
- Various minor fixes and enhancements
- Added tuned parameters for various devices (see doc/tuning.md)

View File

@ -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;