Skip to content

Commit f0d03c4

Browse files
committed
Add missing C license header
1 parent ca8d87f commit f0d03c4

File tree

8 files changed

+184
-0
lines changed

8 files changed

+184
-0
lines changed

TargetLibraries/PULPOpen/inc/mchan_siracusa.h

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,29 @@
1+
/* ----------------------------------------------------------------------
2+
#
3+
# File: mchan_siracusa.h
4+
#
5+
# Last edited: 11.09.2025
6+
#
7+
# Copyright (C) 2025, ETH Zurich and University of Bologna.
8+
#
9+
# Author:
10+
# - Luka Macan, [email protected], University of Bologna
11+
#
12+
# ----------------------------------------------------------------------
13+
# SPDX-License-Identifier: Apache-2.0
14+
#
15+
# Licensed under the Apache License, Version 2.0 (the License); you may
16+
# not use this file except in compliance with the License.
17+
# You may obtain a copy of the License at
18+
#
19+
#
20+
# Unless required by applicable law or agreed to in writing, software
21+
# distributed under the License is distributed on an AS IS BASIS, WITHOUT
22+
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
23+
# See the License for the specific language governing permissions and
24+
# limitations under the License.
25+
*/
26+
127
// Default mchan base address
228
#ifndef MCHAN_BASE_ADDR
329
#define MCHAN_BASE_ADDR (ARCHI_MCHAN_DEMUX_ADDR) // CLUSTER_MCHAN_ADDR
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,29 @@
1+
/* ----------------------------------------------------------------------
2+
#
3+
# File: pulp_core.h
4+
#
5+
# Last edited: 11.09.2025
6+
#
7+
# Copyright (C) 2025, ETH Zurich and University of Bologna.
8+
#
9+
# Author:
10+
# - Run Wang, [email protected], ETH Zurich
11+
#
12+
# ----------------------------------------------------------------------
13+
# SPDX-License-Identifier: Apache-2.0
14+
#
15+
# Licensed under the Apache License, Version 2.0 (the License); you may
16+
# not use this file except in compliance with the License.
17+
# You may obtain a copy of the License at
18+
#
19+
#
20+
# Unless required by applicable law or agreed to in writing, software
21+
# distributed under the License is distributed on an AS IS BASIS, WITHOUT
22+
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
23+
# See the License for the specific language governing permissions and
24+
# limitations under the License.
25+
*/
26+
127
#define BEGIN_SINGLE_CORE if (pi_core_id() == 0) {
228
#define END_SINGLE_CORE }
329
#define SINGLE_CORE if (pi_core_id() == 0)

TargetLibraries/Snitch/inc/kernel/Gemm_fp32.h

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,29 @@
1+
/* ----------------------------------------------------------------------
2+
#
3+
# File: Gemm_fp32.h
4+
#
5+
# Last edited: 11.09.2025
6+
#
7+
# Copyright (C) 2025, ETH Zurich and University of Bologna.
8+
#
9+
# Author:
10+
# - Taha El Bayed, ETH Zurich
11+
#
12+
# ----------------------------------------------------------------------
13+
# SPDX-License-Identifier: Apache-2.0
14+
#
15+
# Licensed under the Apache License, Version 2.0 (the License); you may
16+
# not use this file except in compliance with the License.
17+
# You may obtain a copy of the License at
18+
#
19+
#
20+
# Unless required by applicable law or agreed to in writing, software
21+
# distributed under the License is distributed on an AS IS BASIS, WITHOUT
22+
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
23+
# See the License for the specific language governing permissions and
24+
# limitations under the License.
25+
*/
26+
127
#ifndef __DEEPLOY_MATH_GEMM_KERNEL_HEADER_
228
#define __DEEPLOY_MATH_GEMM_KERNEL_HEADER_
329

TargetLibraries/Snitch/inc/kernel/Softmax.h

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,29 @@
1+
/* ----------------------------------------------------------------------
2+
#
3+
# File: Gemm_fp32.c
4+
#
5+
# Last edited: 11.09.2025
6+
#
7+
# Copyright (C) 2025, ETH Zurich and University of Bologna.
8+
#
9+
# Author:
10+
# - Taha El Bayed, ETH Zurich
11+
#
12+
# ----------------------------------------------------------------------
13+
# SPDX-License-Identifier: Apache-2.0
14+
#
15+
# Licensed under the Apache License, Version 2.0 (the License); you may
16+
# not use this file except in compliance with the License.
17+
# You may obtain a copy of the License at
18+
#
19+
#
20+
# Unless required by applicable law or agreed to in writing, software
21+
# distributed under the License is distributed on an AS IS BASIS, WITHOUT
22+
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
23+
# See the License for the specific language governing permissions and
24+
# limitations under the License.
25+
*/
26+
127
#include "DeeploySnitchMath.h"
228

329
void softmax_fp32(float *input, float *output, int32_t ldI,

TargetLibraries/Snitch/src/Gemm_fp32.c

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,29 @@
1+
/* ----------------------------------------------------------------------
2+
#
3+
# File: Gemm_fp32.c
4+
#
5+
# Last edited: 11.09.2025
6+
#
7+
# Copyright (C) 2025, ETH Zurich and University of Bologna.
8+
#
9+
# Author:
10+
# - Taha El Bayed, ETH Zurich
11+
#
12+
# ----------------------------------------------------------------------
13+
# SPDX-License-Identifier: Apache-2.0
14+
#
15+
# Licensed under the Apache License, Version 2.0 (the License); you may
16+
# not use this file except in compliance with the License.
17+
# You may obtain a copy of the License at
18+
#
19+
#
20+
# Unless required by applicable law or agreed to in writing, software
21+
# distributed under the License is distributed on an AS IS BASIS, WITHOUT
22+
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
23+
# See the License for the specific language governing permissions and
24+
# limitations under the License.
25+
*/
26+
127
#include "DeeploySnitchMath.h"
228
#include "Gemm.h"
329

TargetLibraries/Snitch/src/Gemm_s8.c

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,29 @@
1+
/* ----------------------------------------------------------------------
2+
#
3+
# File: Gemm_s8.c
4+
#
5+
# Last edited: 11.09.2025
6+
#
7+
# Copyright (C) 2025, ETH Zurich and University of Bologna.
8+
#
9+
# Author:
10+
# - Taha El Bayed, ETH Zurich
11+
#
12+
# ----------------------------------------------------------------------
13+
# SPDX-License-Identifier: Apache-2.0
14+
#
15+
# Licensed under the Apache License, Version 2.0 (the License); you may
16+
# not use this file except in compliance with the License.
17+
# You may obtain a copy of the License at
18+
#
19+
#
20+
# Unless required by applicable law or agreed to in writing, software
21+
# distributed under the License is distributed on an AS IS BASIS, WITHOUT
22+
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
23+
# See the License for the specific language governing permissions and
24+
# limitations under the License.
25+
*/
26+
127
#include "DeeploySnitchMath.h"
228
#include "Gemm.h"
329

TargetLibraries/Snitch/src/Softmax_fp32.c

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,29 @@
1+
/* ----------------------------------------------------------------------
2+
#
3+
# File: Softmax_fp32.c
4+
#
5+
# Last edited: 11.09.2025
6+
#
7+
# Copyright (C) 2025, ETH Zurich and University of Bologna.
8+
#
9+
# Author:
10+
# - Taha El Bayed, ETH Zurich
11+
#
12+
# ----------------------------------------------------------------------
13+
# SPDX-License-Identifier: Apache-2.0
14+
#
15+
# Licensed under the Apache License, Version 2.0 (the License); you may
16+
# not use this file except in compliance with the License.
17+
# You may obtain a copy of the License at
18+
#
19+
#
20+
# Unless required by applicable law or agreed to in writing, software
21+
# distributed under the License is distributed on an AS IS BASIS, WITHOUT
22+
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
23+
# See the License for the specific language governing permissions and
24+
# limitations under the License.
25+
*/
26+
127
#include "DeeploySnitchMath.h"
228

329
void Softmax_fp32(float32_t *input, float32_t *output, int32_t ldI,

TargetLibraries/Snitch/src/snitch_nn_add_i8_i8_i8.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
*
66
* Copyright (C) 2018-2020 University of Bologna
77
*
8+
* SPDX-License-Identifier: Apache-2.0
9+
*
810
* Licensed under the Apache License, Version 2.0 (the "License");
911
* you may not use this file except in compliance with the License.
1012
* You may obtain a copy of the License at

0 commit comments

Comments
 (0)