diff options
author | Gunes Bayir <gunes.bayir@arm.com> | 2024-04-09 23:13:04 +0100 |
---|---|---|
committer | Gunes Bayir <gunes.bayir@arm.com> | 2024-04-11 12:58:45 +0000 |
commit | cfca87b91def4f455630f2094447dc0500b6256c (patch) | |
tree | 9985ca8ad1910d48a84aa9781fe3156e614ff5f4 /src/cpu/kernels/CpuKernelSelectionTypes.h | |
parent | f1f1f87132690a8061801ef1a4638d637c780df7 (diff) | |
download | ComputeLibrary-cfca87b91def4f455630f2094447dc0500b6256c.tar.gz |
Add SME2 implementation of softmax for FP16
In addition to the softmax kernel, this patch fixes minor issues in the fp32 implementation.
Resolves: COMPMID-6920
Change-Id: Ibbd9f0af5f2a93fba0e92d72ba437279c34149d3
Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/11402
Benchmark: Arm Jenkins <bsgcomp@arm.com>
Tested-by: Arm Jenkins <bsgcomp@arm.com>
Reviewed-by: Viet-Hoa Do <viet-hoa.do@arm.com>
Comments-Addressed: Arm Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'src/cpu/kernels/CpuKernelSelectionTypes.h')
-rw-r--r-- | src/cpu/kernels/CpuKernelSelectionTypes.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cpu/kernels/CpuKernelSelectionTypes.h b/src/cpu/kernels/CpuKernelSelectionTypes.h index 45ebeec394..d71789cc39 100644 --- a/src/cpu/kernels/CpuKernelSelectionTypes.h +++ b/src/cpu/kernels/CpuKernelSelectionTypes.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021-2023 Arm Limited. + * Copyright (c) 2021-2024 Arm Limited. * * SPDX-License-Identifier: MIT * @@ -104,6 +104,7 @@ struct SoftmaxKernelDataTypeISASelectorData DataType dt; cpuinfo::CpuIsaInfo isa; bool is_log; + int axis; }; // Selector pointer types |