From a5a81aec922f0d4c30a676098ae83f3bb73a75a6 Mon Sep 17 00:00:00 2001 From: Gunes Bayir Date: Thu, 8 Feb 2024 10:50:53 +0000 Subject: Mark GpuSoftmax and GpuReshape as not supported Softmax and Reshape operators are not supported in CKW. This patch marks them as not supported because we're deprecating template writer. Resolves: COMPMID-6872 Signed-off-by: Gunes Bayir Change-Id: Ied97e5d21297c28be120c62760d33e6e832dd3b8 Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/11107 Tested-by: Arm Jenkins Reviewed-by: Jakub Sujak Comments-Addressed: Arm Jenkins Benchmark: Arm Jenkins --- src/dynamic_fusion/sketch/gpu/operators/GpuReshape.cpp | 4 ++-- src/dynamic_fusion/sketch/gpu/operators/GpuSoftmax.cpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/dynamic_fusion/sketch/gpu/operators/GpuReshape.cpp b/src/dynamic_fusion/sketch/gpu/operators/GpuReshape.cpp index 3def7a1a81..0e1f16e8ff 100644 --- a/src/dynamic_fusion/sketch/gpu/operators/GpuReshape.cpp +++ b/src/dynamic_fusion/sketch/gpu/operators/GpuReshape.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2023 Arm Limited. + * Copyright (c) 2023-2024 Arm Limited. * * SPDX-License-Identifier: MIT * @@ -74,7 +74,7 @@ Status is_supported_op_helper(const GpuWorkloadContext &context, ARM_COMPUTE_RETURN_ERROR_MSG("Unimplemented Gpu language"); } - return Status{}; + return Status{ErrorCode::RUNTIME_ERROR, "GpuReshape is not Supported"}; } GpuOperatorType operator_type = GpuOperatorType::Complex; diff --git a/src/dynamic_fusion/sketch/gpu/operators/GpuSoftmax.cpp b/src/dynamic_fusion/sketch/gpu/operators/GpuSoftmax.cpp index c87b282aec..431c9110fc 100644 --- a/src/dynamic_fusion/sketch/gpu/operators/GpuSoftmax.cpp +++ b/src/dynamic_fusion/sketch/gpu/operators/GpuSoftmax.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2023 Arm Limited. + * Copyright (c) 2023-2024 Arm Limited. * * SPDX-License-Identifier: MIT * @@ -97,7 +97,7 @@ Status GpuSoftmax::is_supported_op(const GpuWorkloadContext &context, ARM_COMPUTE_RETURN_ERROR_MSG("Unimplemented Gpu language"); } - return Status{}; + return Status{ErrorCode::RUNTIME_ERROR, "GpuSoftmax is not Supported"}; } Status GpuSoftmax::validate_op(const GpuWorkloadSketch &sketch, -- cgit v1.2.1