diff options
author | Cedric Nugteren <web@cedricnugteren.nl> | 2017-12-09 20:44:21 +0100 |
---|---|---|
committer | Cedric Nugteren <web@cedricnugteren.nl> | 2017-12-09 20:44:21 +0100 |
commit | 9f02fb542ca659bf58d1efefdb334ea386ef10e8 (patch) | |
tree | 8669e215f38e8b00a4ee73a436479207f2afdbf5 /test/correctness | |
parent | ca5dbcd2bd31fb0a0e3f6c2f81b3c0fff6250738 (diff) |
Completed kernel modifications for pre-processor of all other kernels
Diffstat (limited to 'test/correctness')
-rw-r--r-- | test/correctness/misc/preprocessor.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/correctness/misc/preprocessor.cpp b/test/correctness/misc/preprocessor.cpp index 92ca2490..8b5f16f5 100644 --- a/test/correctness/misc/preprocessor.cpp +++ b/test/correctness/misc/preprocessor.cpp @@ -243,6 +243,14 @@ size_t RunPreprocessor(int argc, char *argv[], const bool silent, const Precisio ; if (TestKernel(device, context, "XgemmDirectTN", gemm_direct_sources, precision)) { passed++; } else { errors++; } + // HEMM + const auto herm_sources = + "#define ROUTINE_HEMM\n" + #include "../src/kernels/level3/level3.opencl" + #include "../src/kernels/level3/convert_hermitian.opencl" + ; + if (TestKernel(device, context, "HermLowerToSquared", herm_sources, precision)) { passed++; } else { errors++; } + // Prints and returns the statistics std::cout << std::endl; std::cout << " " << passed << " test(s) passed" << std::endl; @@ -258,6 +266,7 @@ size_t RunPreprocessor(int argc, char *argv[], const bool silent, const Precisio int main(int argc, char *argv[]) { auto errors = size_t{0}; errors += clblast::RunPreprocessor(argc, argv, false, clblast::Precision::kSingle); + errors += clblast::RunPreprocessor(argc, argv, true, clblast::Precision::kComplexDouble); if (errors > 0) { return 1; } else { return 0; } } |