diff options
author | Viet-Hoa Do <viet-hoa.do@arm.com> | 2023-07-05 17:36:40 +0100 |
---|---|---|
committer | Viet-Hoa Do <viet-hoa.do@arm.com> | 2023-07-11 13:46:38 +0000 |
commit | 3389f530fb19247889048f9a2b2eedda14f3fea2 (patch) | |
tree | 5e22f5f014194f6382a35b2c7eae4e805d2541bf /compute_kernel_writer/validation/Validation.cpp | |
parent | 8e2dedea8550b1c18c3bbeead8c972f661dcfac8 (diff) | |
download | ComputeLibrary-3389f530fb19247889048f9a2b2eedda14f3fea2.tar.gz |
Add kernel and kernel writer skeletons
* Add the skeleton for kernel, kernel writer and their respective
OpenCL implementation.
* Add method to write code comment and its test.
Resolves: COMPMID-6343
Signed-off-by: Viet-Hoa Do <viet-hoa.do@arm.com>
Change-Id: Ib986228154f7a00da7a5fd3b7105941325fe13b1
Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/9889
Tested-by: Arm Jenkins <bsgcomp@arm.com>
Reviewed-by: Gunes Bayir <gunes.bayir@arm.com>
Comments-Addressed: Arm Jenkins <bsgcomp@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 | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/compute_kernel_writer/validation/Validation.cpp b/compute_kernel_writer/validation/Validation.cpp index 16c0d7696d..c0bdaaa0dc 100644 --- a/compute_kernel_writer/validation/Validation.cpp +++ b/compute_kernel_writer/validation/Validation.cpp @@ -26,6 +26,7 @@ #include "tests/CLTileTest.hpp" #include "tests/TensorBitMaskTest.hpp" #include "tests/UtilsTest.hpp" +#include "tests/CLKernelWriterTest.h" #include <memory> #include <vector> @@ -59,6 +60,7 @@ int32_t main() const auto test12 = std::make_unique<CLConstantTileAccessScalarVariableBroadcastYTest>(); const auto test13 = std::make_unique<CLConstantTileAccessVectorVariablesTest>(); const auto test14 = std::make_unique<CLConstantTileAccessSubVectorVariablesTest>(); + const auto test15 = std::make_unique<CLKernelWriterCommentTest>(); tests.push_back(test3.get()); tests.push_back(test4.get()); @@ -72,6 +74,7 @@ int32_t main() tests.push_back(test12.get()); tests.push_back(test13.get()); tests.push_back(test14.get()); + tests.push_back(test15.get()); #endif /* COMPUTE_KERNEL_WRITER_OPENCL_ENABLED */ bool all_test_passed = true; |