From d5f9a1cf9f0340f3e6bf9ff00156fc2adb1fdca9 Mon Sep 17 00:00:00 2001 From: Gunes Bayir Date: Thu, 17 Aug 2023 11:04:02 +0100 Subject: Implement indirect load for buffer and CLImage Add KernelWriter API functions for loading from an indirect buffer Resolves: COMPMID-6390 Signed-off-by: Gunes Bayir Change-Id: I45dbf88b25ec5caf2b458657ef20aacac9924745 Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/10192 Reviewed-by: Viet-Hoa Do Reviewed-by: Gian Marco Iodice Tested-by: Arm Jenkins Comments-Addressed: Arm Jenkins Benchmark: Arm Jenkins --- compute_kernel_writer/validation/Validation.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'compute_kernel_writer/validation/Validation.cpp') diff --git a/compute_kernel_writer/validation/Validation.cpp b/compute_kernel_writer/validation/Validation.cpp index 06af610456..7031fe80a9 100644 --- a/compute_kernel_writer/validation/Validation.cpp +++ b/compute_kernel_writer/validation/Validation.cpp @@ -33,6 +33,7 @@ #include "validation/tests/CLKernelWriterForTest.h" #include "validation/tests/CLKernelWriterGetGlobalIdTest.h" #include "validation/tests/CLKernelWriterIfTest.h" +#include "validation/tests/CLKernelWriterOpLoadIndirectTest.h" #include "validation/tests/CLKernelWriterOpLoadStoreTest.h" #include "validation/tests/CLKernelWriterPrintTest.h" #include "validation/tests/CLKernelWriterReturnTest.h" @@ -43,6 +44,7 @@ #include "validation/tests/TensorBitMaskTest.h" #include "validation/tests/UtilsTest.h" +#include #include #include @@ -99,6 +101,7 @@ int32_t main() const auto test34 = std::make_unique(); const auto test35 = std::make_unique(); const auto test36 = std::make_unique(); + const auto test37 = std::make_unique(); tests.push_back(test3.get()); tests.push_back(test4.get()); @@ -136,6 +139,7 @@ int32_t main() tests.push_back(test34.get()); tests.push_back(test35.get()); tests.push_back(test36.get()); + tests.push_back(test37.get()); #endif /* COMPUTE_KERNEL_WRITER_OPENCL_ENABLED */ bool all_test_passed = true; -- cgit v1.2.1