aboutsummaryrefslogtreecommitdiff
path: root/compute_kernel_writer/validation/Validation.cpp
diff options
context:
space:
mode:
authorGunes Bayir <gunes.bayir@arm.com>2023-08-17 11:04:02 +0100
committerGunes Bayir <gunes.bayir@arm.com>2023-08-30 15:45:59 +0000
commitd5f9a1cf9f0340f3e6bf9ff00156fc2adb1fdca9 (patch)
treeaf23cff1cb3a504ee51676cd9bfc74b75934fef2 /compute_kernel_writer/validation/Validation.cpp
parent91cb7336400acc857e20086a23692f99fe11be9c (diff)
downloadComputeLibrary-d5f9a1cf9f0340f3e6bf9ff00156fc2adb1fdca9.tar.gz
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 <gunes.bayir@arm.com> Change-Id: I45dbf88b25ec5caf2b458657ef20aacac9924745 Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/10192 Reviewed-by: Viet-Hoa Do <viet-hoa.do@arm.com> Reviewed-by: Gian Marco Iodice <gianmarco.iodice@arm.com> Tested-by: Arm Jenkins <bsgcomp@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.cpp4
1 files changed, 4 insertions, 0 deletions
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 <cstdint>
#include <memory>
#include <vector>
@@ -99,6 +101,7 @@ int32_t main()
const auto test34 = std::make_unique<CLKernelWriterReturnTest>();
const auto test35 = std::make_unique<CLKernelWriterGetGlobalIdTest>();
const auto test36 = std::make_unique<CLKernelWriterPrintTest>();
+ const auto test37 = std::make_unique<CLKernelWriterOpLoadIndirectTest>();
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;