diff options
author | Viet-Hoa Do <viet-hoa.do@arm.com> | 2023-08-29 16:01:13 +0100 |
---|---|---|
committer | Viet-Hoa Do <viet-hoa.do@arm.com> | 2023-08-30 12:32:10 +0000 |
commit | d0d8f2e61039826685aa076347eacce526e8c74b (patch) | |
tree | b655ee0c07c8c87ce387c370d20494169ae86d5c /compute_kernel_writer/validation/Validation.cpp | |
parent | 87706692252b0746e882a9dd34ae64dc60acd767 (diff) | |
download | ComputeLibrary-d0d8f2e61039826685aa076347eacce526e8c74b.tar.gz |
Add get_global_id and printf for CKW
Resolves: COMPMID-6387
Signed-off-by: Viet-Hoa Do <viet-hoa.do@arm.com>
Change-Id: I5bedb2fdb658a6eb5f1d5053b3840ca81cf75d03
Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/10214
Reviewed-by: Gunes Bayir <gunes.bayir@arm.com>
Comments-Addressed: Arm Jenkins <bsgcomp@arm.com>
Tested-by: 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 | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/compute_kernel_writer/validation/Validation.cpp b/compute_kernel_writer/validation/Validation.cpp index c8d0f6b45d..06af610456 100644 --- a/compute_kernel_writer/validation/Validation.cpp +++ b/compute_kernel_writer/validation/Validation.cpp @@ -31,8 +31,10 @@ #include "validation/tests/CLKernelWriterDeclareTensorTest.h" #include "validation/tests/CLKernelWriterDeclareTileTest.h" #include "validation/tests/CLKernelWriterForTest.h" +#include "validation/tests/CLKernelWriterGetGlobalIdTest.h" #include "validation/tests/CLKernelWriterIfTest.h" #include "validation/tests/CLKernelWriterOpLoadStoreTest.h" +#include "validation/tests/CLKernelWriterPrintTest.h" #include "validation/tests/CLKernelWriterReturnTest.h" #include "validation/tests/CLKernelWriterTernaryOpTest.h" #include "validation/tests/CLKernelWriterUnaryExpressionTest.h" @@ -95,6 +97,8 @@ int32_t main() const auto test32 = std::make_unique<CLKernelWriterIfTest>(); const auto test33 = std::make_unique<CLKernelWriterForTest>(); const auto test34 = std::make_unique<CLKernelWriterReturnTest>(); + const auto test35 = std::make_unique<CLKernelWriterGetGlobalIdTest>(); + const auto test36 = std::make_unique<CLKernelWriterPrintTest>(); tests.push_back(test3.get()); tests.push_back(test4.get()); @@ -130,6 +134,8 @@ int32_t main() tests.push_back(test32.get()); tests.push_back(test33.get()); tests.push_back(test34.get()); + tests.push_back(test35.get()); + tests.push_back(test36.get()); #endif /* COMPUTE_KERNEL_WRITER_OPENCL_ENABLED */ bool all_test_passed = true; |