diff options
author | Cedric Nugteren <web@cedricnugteren.nl> | 2016-03-30 17:32:13 +0200 |
---|---|---|
committer | cnugteren <web@cedricnugteren.nl> | 2016-03-30 16:13:37 -0700 |
commit | c1df78676471a8a26ea8ec5a092734566d490db4 (patch) | |
tree | 272bd2cda6a54929f83e4d2c6c7a0652384f88ec /test/correctness/routines/level1 | |
parent | 6ecc0d089c80296cce3089734771279a30783f81 (diff) |
Added prototypes for the xROTM and xROTMG routines
Diffstat (limited to 'test/correctness/routines/level1')
-rw-r--r-- | test/correctness/routines/level1/xrotm.cc | 26 | ||||
-rw-r--r-- | test/correctness/routines/level1/xrotmg.cc | 26 |
2 files changed, 52 insertions, 0 deletions
diff --git a/test/correctness/routines/level1/xrotm.cc b/test/correctness/routines/level1/xrotm.cc new file mode 100644 index 00000000..869056ef --- /dev/null +++ b/test/correctness/routines/level1/xrotm.cc @@ -0,0 +1,26 @@ + +// ================================================================================================= +// 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/xrotm.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::TestXrotm<float>, float, float>(argc, argv, false, "SROTM"); + clblast::RunTests<clblast::TestXrotm<double>, double, double>(argc, argv, true, "DROTM"); + return 0; +} + +// ================================================================================================= diff --git a/test/correctness/routines/level1/xrotmg.cc b/test/correctness/routines/level1/xrotmg.cc new file mode 100644 index 00000000..29f8b0e1 --- /dev/null +++ b/test/correctness/routines/level1/xrotmg.cc @@ -0,0 +1,26 @@ + +// ================================================================================================= +// 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/xrotmg.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::TestXrotmg<float>, float, float>(argc, argv, false, "SROTMG"); + clblast::RunTests<clblast::TestXrotmg<double>, double, double>(argc, argv, true, "DROTMG"); + return 0; +} + +// ================================================================================================= |