diff options
author | Jakub Sujak <jakub.sujak@arm.com> | 2023-05-22 17:38:56 +0100 |
---|---|---|
committer | Jakub Sujak <jakub.sujak@arm.com> | 2023-06-01 14:13:28 +0000 |
commit | df5d9878008be9b60586df97ebfff197abb5195e (patch) | |
tree | 19aa36c340e4efb28a0df6cbbe1e8728a04ee583 /compute_kernel_writer/validation/Validation.cpp | |
parent | 545358ea7e65abfba6db5b194264584f1e54cc96 (diff) | |
download | ComputeLibrary-df5d9878008be9b60586df97ebfff197abb5195e.tar.gz |
Add CMakeLists to Compute Kernel Writer
Resolves: COMPMID-6276
Change-Id: Id6d6d8c1a92cf2b11c1240e044d31f386fbda61e
Signed-off-by: Jakub Sujak <jakub.sujak@arm.com>
Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/9700
Tested-by: Arm Jenkins <bsgcomp@arm.com>
Reviewed-by: Viet-Hoa Do <viet-hoa.do@arm.com>
Benchmark: Arm Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'compute_kernel_writer/validation/Validation.cpp')
-rw-r--r-- | compute_kernel_writer/validation/Validation.cpp | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/compute_kernel_writer/validation/Validation.cpp b/compute_kernel_writer/validation/Validation.cpp index cc9dbfa7d0..9bdf0dfdd2 100644 --- a/compute_kernel_writer/validation/Validation.cpp +++ b/compute_kernel_writer/validation/Validation.cpp @@ -41,19 +41,22 @@ int32_t main() const auto test0 = std::make_unique<UtilsTest>(); const auto test1 = std::make_unique<TensorBitMaskTrueTest>(); const auto test2 = std::make_unique<TensorBitMaskFalseTest>(); + tests.push_back(test0.get()); + tests.push_back(test1.get()); + tests.push_back(test2.get()); + +#ifdef COMPUTE_KERNEL_WRITER_OPENCL_ENABLED const auto test3 = std::make_unique<CLTileInternalVariableNamesTest>(); const auto test4 = std::make_unique<CLTileInternalNumVariablesTest>(); const auto test5 = std::make_unique<CLTileAccessScalarVariableTest>(); const auto test6 = std::make_unique<CLTileAccessScalarVariableBroadcastXTest>(); const auto test7 = std::make_unique<CLTileAccessScalarVariableBroadcastYTest>(); - tests.push_back(test0.get()); - tests.push_back(test1.get()); - tests.push_back(test2.get()); tests.push_back(test3.get()); tests.push_back(test4.get()); tests.push_back(test5.get()); tests.push_back(test6.get()); tests.push_back(test7.get()); +#endif /* COMPUTE_KERNEL_WRITER_OPENCL_ENABLED */ bool all_test_passed = true; |