diff options
author | Mohammed Suhail Munshi <MohammedSuhail.Munshi@arm.com> | 2024-03-18 12:13:30 +0000 |
---|---|---|
committer | Suhail M <MohammedSuhail.Munshi@arm.com> | 2024-03-25 13:23:33 +0000 |
commit | 473b8291a7dc126586d19b82d6c84b4c7a6e44a6 (patch) | |
tree | 1ca111dfac74ddfb1d8430b6503ba7e6402e9c5d /src/gpu/cl/operators/ClScatter.cpp | |
parent | 4908981a4db9da7ec51fd0c2900a25bd91b2926a (diff) | |
download | ComputeLibrary-473b8291a7dc126586d19b82d6c84b4c7a6e44a6.tar.gz |
Adds Tests and reference implementation for scatter operator with 1D tensors.
Resolves: [COMPMID-6890]
Change-Id: Ie4a8db24fc6387afa9ddf42b3607e040cdf8df67
Signed-off-by: Mohammed Suhail Munshi <MohammedSuhail.Munshi@arm.com>
Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/11339
Reviewed-by: Gunes Bayir <gunes.bayir@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 'src/gpu/cl/operators/ClScatter.cpp')
-rw-r--r-- | src/gpu/cl/operators/ClScatter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpu/cl/operators/ClScatter.cpp b/src/gpu/cl/operators/ClScatter.cpp index 74d747bc16..af5fbb86f3 100644 --- a/src/gpu/cl/operators/ClScatter.cpp +++ b/src/gpu/cl/operators/ClScatter.cpp @@ -59,7 +59,7 @@ void ClScatter::configure(const CLCompileContext &compile_context, ITensorInfo *dst, const ScatterInfo &info) { - ARM_COMPUTE_ERROR_ON_NULLPTR(src, indices, dst); + ARM_COMPUTE_ERROR_ON_NULLPTR(updates, indices, dst); ARM_COMPUTE_LOG_PARAMS(src, indices, dst, info); ARM_COMPUTE_UNUSED(src); ARM_COMPUTE_UNUSED(updates); |