mirror of
https://github.com/CNugteren/CLBlast.git
synced 2024-07-04 21:36:57 +02:00
Fixed breaking preprocessor test on certain platforms due to empty kernel string
This commit is contained in:
parent
9ff6cd7547
commit
f4d96e80c3
|
@ -245,12 +245,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++; }
|
if (TestKernel(device, context, "XgemmDirectTN", gemm_direct_sources, precision)) { passed++; } else { errors++; }
|
||||||
|
|
||||||
// HEMM
|
// HEMM
|
||||||
|
if (precision == Precision::kComplexSingle || precision == Precision::kComplexDouble) {
|
||||||
const auto herm_sources =
|
const auto herm_sources =
|
||||||
"#define ROUTINE_HEMM\n"
|
"#define ROUTINE_HEMM\n"
|
||||||
#include "../src/kernels/level3/level3.opencl"
|
#include "../src/kernels/level3/level3.opencl"
|
||||||
#include "../src/kernels/level3/convert_hermitian.opencl"
|
#include "../src/kernels/level3/convert_hermitian.opencl"
|
||||||
;
|
;
|
||||||
if (TestKernel(device, context, "HermLowerToSquared", herm_sources, precision)) { passed++; } else { errors++; }
|
if (TestKernel(device, context, "HermLowerToSquared", herm_sources, precision)) { passed++; } else { errors++; }
|
||||||
|
}
|
||||||
|
|
||||||
// Prints and returns the statistics
|
// Prints and returns the statistics
|
||||||
std::cout << std::endl;
|
std::cout << std::endl;
|
||||||
|
|
Loading…
Reference in a new issue