diff options
author | Cedric Nugteren <web@cedricnugteren.nl> | 2017-06-26 21:38:04 +0200 |
---|---|---|
committer | Cedric Nugteren <web@cedricnugteren.nl> | 2017-06-26 21:38:04 +0200 |
commit | ce528a9d39a976760f84c194016f22fc493a5d57 (patch) | |
tree | dc0bd7d633f18ad3281bae9c68b48b9818b573e3 /test/routines/levelx/xaxpybatched.hpp | |
parent | a823edb65ffadd21bb825b9e2184e09a06879c1d (diff) |
Fixed and suppresses several warnings for MSVC
Diffstat (limited to 'test/routines/levelx/xaxpybatched.hpp')
-rw-r--r-- | test/routines/levelx/xaxpybatched.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/routines/levelx/xaxpybatched.hpp b/test/routines/levelx/xaxpybatched.hpp index 5385e86e..4a8fc564 100644 --- a/test/routines/levelx/xaxpybatched.hpp +++ b/test/routines/levelx/xaxpybatched.hpp @@ -62,7 +62,7 @@ class TestXaxpyBatched { for (auto batch = size_t{0}; batch < args.batch_count; ++batch) { args.x_offsets[batch] = batch * PerBatchSizeX(args) + args.x_offset; args.y_offsets[batch] = batch * PerBatchSizeY(args) + args.y_offset; - args.alphas[batch] = args.alpha + Constant<T>(batch); + args.alphas[batch] = args.alpha + Constant<T>(static_cast<double>(batch)); } } |