Skip to content

Commit

Permalink
Added new ARM_DSP_ATTRIBUTE compilation define.
Browse files Browse the repository at this point in the history
Can be used to define functions as weak for instance.
Some other minor change to headers
  • Loading branch information
christophe0606 committed Jun 27, 2024
1 parent 3be81f2 commit a640cbf
Show file tree
Hide file tree
Showing 52 changed files with 802 additions and 801 deletions.
4 changes: 2 additions & 2 deletions ComputeLibrary/Include/NEMath.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/
#ifndef __ARM_COMPUTE_NEMATH_H__
#define __ARM_COMPUTE_NEMATH_H__
#ifndef ARM_COMPUTE_NEMATH_H__
#define ARM_COMPUTE_NEMATH_H__


#if defined(ARM_MATH_NEON)
Expand Down
4 changes: 2 additions & 2 deletions Include/arm_common_tables.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@
* limitations under the License.
*/

#ifndef _ARM_COMMON_TABLES_H
#define _ARM_COMMON_TABLES_H
#ifndef ARM_COMMON_TABLES_H
#define ARM_COMMON_TABLES_H

#include "arm_math_types.h"
#include "dsp/fast_math_functions.h"
Expand Down
4 changes: 2 additions & 2 deletions Include/arm_common_tables_f16.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@
* limitations under the License.
*/

#ifndef _ARM_COMMON_TABLES_F16_H
#define _ARM_COMMON_TABLES_F16_H
#ifndef ARM_COMMON_TABLES_F16_H
#define ARM_COMMON_TABLES_F16_H

#include "arm_math_types_f16.h"

Expand Down
4 changes: 2 additions & 2 deletions Include/arm_const_structs.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@
* limitations under the License.
*/

#ifndef _ARM_CONST_STRUCTS_H
#define _ARM_CONST_STRUCTS_H
#ifndef ARM_CONST_STRUCTS_H
#define ARM_CONST_STRUCTS_H

#include "arm_math_types.h"
#include "arm_common_tables.h"
Expand Down
4 changes: 2 additions & 2 deletions Include/arm_const_structs_f16.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@
* limitations under the License.
*/

#ifndef _ARM_CONST_STRUCTS_F16_H
#define _ARM_CONST_STRUCTS_F16_H
#ifndef ARM_CONST_STRUCTS_F16_H
#define ARM_CONST_STRUCTS_F16_H

#include "arm_math_types_f16.h"
#include "arm_common_tables.h"
Expand Down
4 changes: 2 additions & 2 deletions Include/arm_helium_utils.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@
* limitations under the License.
*/

#ifndef _ARM_UTILS_HELIUM_H_
#define _ARM_UTILS_HELIUM_H_
#ifndef ARM_UTILS_HELIUM_H_
#define ARM_UTILS_HELIUM_H_


#ifdef __cplusplus
Expand Down
4 changes: 2 additions & 2 deletions Include/arm_math.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@
*/


#ifndef _ARM_MATH_H
#define _ARM_MATH_H
#ifndef ARM_MATH_H
#define ARM_MATH_H


#include "arm_math_types.h"
Expand Down
4 changes: 2 additions & 2 deletions Include/arm_math_f16.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
* limitations under the License.
*/

#ifndef _ARM_MATH_F16_H
#define _ARM_MATH_F16_H
#ifndef ARM_MATH_F16_H
#define ARM_MATH_F16_H

#include "arm_math.h"

Expand Down
4 changes: 2 additions & 2 deletions Include/arm_math_memory.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@
* limitations under the License.
*/

#ifndef _ARM_MATH_MEMORY_H_
#ifndef ARM_MATH_MEMORY_H_

#define _ARM_MATH_MEMORY_H_
#define ARM_MATH_MEMORY_H_

#include "arm_math_types.h"

Expand Down
8 changes: 6 additions & 2 deletions Include/arm_math_types.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,13 @@
* limitations under the License.
*/

#ifndef _ARM_MATH_TYPES_H_
#ifndef ARM_MATH_TYPES_H_

#define _ARM_MATH_TYPES_H_
#define ARM_MATH_TYPES_H_

#ifndef ARM_DSP_ATTRIBUTE
#define ARM_DSP_ATTRIBUTE
#endif

#ifdef __cplusplus
extern "C"
Expand Down
4 changes: 2 additions & 2 deletions Include/arm_math_types_f16.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
* limitations under the License.
*/

#ifndef _ARM_MATH_TYPES_F16_H
#define _ARM_MATH_TYPES_F16_H
#ifndef ARM_MATH_TYPES_F16_H
#define ARM_MATH_TYPES_F16_H

#include "arm_math_types.h"

Expand Down
4 changes: 2 additions & 2 deletions Include/arm_mve_tables.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@
* limitations under the License.
*/

#ifndef _ARM_MVE_TABLES_H
#define _ARM_MVE_TABLES_H
#ifndef ARM_MVE_TABLES_H
#define ARM_MVE_TABLES_H

#include "arm_math_types.h"

Expand Down
4 changes: 2 additions & 2 deletions Include/arm_mve_tables_f16.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@
* limitations under the License.
*/

#ifndef _ARM_MVE_TABLES_F16_H
#define _ARM_MVE_TABLES_F16_H
#ifndef ARM_MVE_TABLES_F16_H
#define ARM_MVE_TABLES_F16_H

#include "arm_math_types_f16.h"

Expand Down
4 changes: 2 additions & 2 deletions Include/arm_vec_math.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
* limitations under the License.
*/

#ifndef _ARM_VEC_MATH_H
#define _ARM_VEC_MATH_H
#ifndef ARM_VEC_MATH_H
#define ARM_VEC_MATH_H

#include "arm_math_types.h"
#include "arm_common_tables.h"
Expand Down
4 changes: 2 additions & 2 deletions Include/arm_vec_math_f16.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
* limitations under the License.
*/

#ifndef _ARM_VEC_MATH_F16_H
#define _ARM_VEC_MATH_F16_H
#ifndef ARM_VEC_MATH_F16_H
#define ARM_VEC_MATH_F16_H

#include "arm_math_types_f16.h"
#include "arm_common_tables_f16.h"
Expand Down
Loading

0 comments on commit a640cbf

Please sign in to comment.