diff options
author | Cedric Nugteren <web@cedricnugteren.nl> | 2017-12-17 16:42:54 +0100 |
---|---|---|
committer | Cedric Nugteren <web@cedricnugteren.nl> | 2017-12-17 16:42:54 +0100 |
commit | 7408f6e6ebaca968a0ebbbe158e232264b0f2eb9 (patch) | |
tree | 496cabb83bc4e910023ecd0031b79bdc1f0f351f /src/tuning | |
parent | 35e2b3ed5b97cc16cfe9e7786aec1b0aa0946c52 (diff) |
Fixed an unnecessary overflow issue on 32-bit systems
Diffstat (limited to 'src/tuning')
-rw-r--r-- | src/tuning/routines/xgemm.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tuning/routines/xgemm.cpp b/src/tuning/routines/xgemm.cpp index 0cb32a2e..cf750519 100644 --- a/src/tuning/routines/xgemm.cpp +++ b/src/tuning/routines/xgemm.cpp @@ -88,7 +88,7 @@ void TuneXgemm(int argc, char* argv[]) { // Direct version printf("\n* Testing the direct GEMM routine for m=n=k\n"); - ForceSelectIndirectFrom<T>(to * to * to + 1, device); + ForceSelectIndirectFrom<T>(to + 1, device); const auto direct = TimeRoutine(from, to, step, num_runs, queue, buffers, RunGemmRoutine<T>); // Determining final score and best kernel selection point |