| Line | Branch | Exec | Source |
|---|---|---|---|
| 1 | // SPDX-FileCopyrightText: 2025 Arm Limited and/or its affiliates <open-source-office@arm.com> | ||
| 2 | // | ||
| 3 | // SPDX-License-Identifier: Apache-2.0 | ||
| 4 | |||
| 5 | #include "exp_sc.h" | ||
| 6 | |||
| 7 | namespace kleidicv::sme2 { | ||
| 8 | |||
| 9 | template <typename T> | ||
| 10 | KLEIDICV_LOCALLY_STREAMING KLEIDICV_TARGET_FN_ATTRS kleidicv_error_t | ||
| 11 | 81 | exp(const T* src, size_t src_stride, T* dst, size_t dst_stride, size_t width, | |
| 12 | size_t height) { | ||
| 13 | 162 | return exp_sc<T, ExpNoShortPath<T>>(src, src_stride, dst, dst_stride, width, | |
| 14 | 81 | height); | |
| 15 | } | ||
| 16 | |||
| 17 | #define KLEIDICV_INSTANTIATE_TEMPLATE(type) \ | ||
| 18 | template KLEIDICV_TARGET_FN_ATTRS kleidicv_error_t exp<type>( \ | ||
| 19 | const type* src, size_t src_stride, type* dst, size_t dst_stride, \ | ||
| 20 | size_t width, size_t height) | ||
| 21 | |||
| 22 | KLEIDICV_INSTANTIATE_TEMPLATE(float); | ||
| 23 | |||
| 24 | } // namespace kleidicv::sme2 | ||
| 25 |