blob: 720164366e869051b24f63c5c627c983bcdac41d [file] [log] [blame]
Mohammed Suhail Munshi8609ca02024-02-29 17:00:07 +00001/*
2 * Copyright (c) 2024 Arm Limited.
3 *
4 * SPDX-License-Identifier: MIT
5 *
6 * Permission is hereby granted, free of charge, to any person obtaining a copy
7 * of this software and associated documentation files (the "Software"), to
8 * deal in the Software without restriction, including without limitation the
9 * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
10 * sell copies of the Software, and to permit persons to whom the Software is
11 * furnished to do so, subject to the following conditions:
12 *
13 * The above copyright notice and this permission notice shall be included in all
14 * copies or substantial portions of the Software.
15 *
16 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22 * SOFTWARE.
23 */
24#include "src/gpu/cl/kernels/ClScatterKernel.h"
25
26#include "arm_compute/core/CL/ICLTensor.h"
27#include "arm_compute/core/ITensorPack.h"
28#include "arm_compute/core/TensorInfo.h"
29
30namespace arm_compute
31{
32namespace opencl
33{
34namespace kernels
35{
36ClScatterKernel::ClScatterKernel()
37{
38}
39
40Status ClScatterKernel::validate(const ITensorInfo *src,
41 const ITensorInfo *updates,
42 const ITensorInfo *indices,
43 const ITensorInfo *dst,
44 const ScatterInfo &info)
45{
46 ARM_COMPUTE_UNUSED(src);
47 ARM_COMPUTE_UNUSED(updates);
48 ARM_COMPUTE_UNUSED(indices);
49 ARM_COMPUTE_UNUSED(dst);
50 ARM_COMPUTE_UNUSED(info);
51
52 return Status{};
53}
54void ClScatterKernel::configure(const ClCompileContext &compile_context,
55 const ITensorInfo *src,
56 const ITensorInfo *updates,
57 const ITensorInfo *indices,
58 ITensorInfo *dst,
59 const ScatterInfo &info)
60{
61 ARM_COMPUTE_UNUSED(compile_context);
62 ARM_COMPUTE_UNUSED(src);
63 ARM_COMPUTE_UNUSED(updates);
64 ARM_COMPUTE_UNUSED(indices);
65 ARM_COMPUTE_UNUSED(dst);
66 ARM_COMPUTE_UNUSED(info);
67}
68
69void ClScatterKernel::run_op(ITensorPack &tensors, const Window &window, cl::CommandQueue &queue)
70{
71 ARM_COMPUTE_UNUSED(tensors);
72 ARM_COMPUTE_UNUSED(window);
73 ARM_COMPUTE_UNUSED(queue);
74}
75
76} // namespace kernels
77} // namespace opencl
78} // namespace arm_compute