diff options
author | cnugteren <web@cedricnugteren.nl> | 2016-04-13 21:44:49 -0600 |
---|---|---|
committer | cnugteren <web@cedricnugteren.nl> | 2016-04-13 21:44:49 -0600 |
commit | e0497807e297e38884efae67a0109a160dc693b7 (patch) | |
tree | de692ac023bca1b6d75e2251ecce7d7fa771ccbb /test/correctness/routines | |
parent | a61724ece50ab895a67bc15ae3a132d0ecbe61bc (diff) |
Added prototype for xASUM routines
Diffstat (limited to 'test/correctness/routines')
-rw-r--r-- | test/correctness/routines/level1/xasum.cc | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/test/correctness/routines/level1/xasum.cc b/test/correctness/routines/level1/xasum.cc new file mode 100644 index 00000000..5ec20596 --- /dev/null +++ b/test/correctness/routines/level1/xasum.cc @@ -0,0 +1,28 @@ + +// ================================================================================================= +// This file is part of the CLBlast project. The project is licensed under Apache Version 2.0. This +// project loosely follows the Google C++ styleguide and uses a tab-size of two spaces and a max- +// width of 100 characters per line. +// +// Author(s): +// Cedric Nugteren <www.cedricnugteren.nl> +// +// ================================================================================================= + +#include "correctness/testblas.h" +#include "routines/level1/xasum.h" + +// Shortcuts to the clblast namespace +using float2 = clblast::float2; +using double2 = clblast::double2; + +// Main function (not within the clblast namespace) +int main(int argc, char *argv[]) { + clblast::RunTests<clblast::TestXasum<float>, float, float>(argc, argv, false, "SASUM"); + clblast::RunTests<clblast::TestXasum<double>, double, double>(argc, argv, true, "DASUM"); + clblast::RunTests<clblast::TestXasum<float2>, float2, float2>(argc, argv, true, "ScASUM"); + clblast::RunTests<clblast::TestXasum<double2>, double2, double2>(argc, argv, true, "DzASUM"); + return 0; +} + +// ================================================================================================= |