Skip to content

Commit 0cafad1

Browse files
committed
Implement feedback from Calin
1 parent e518ae5 commit 0cafad1

8 files changed

Lines changed: 8 additions & 146 deletions

File tree

Deeploy/CommonExtensions/DataTypes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ class float32_t(FloatImmediate):
9090

9191

9292
class float64_t(FloatImmediate):
93-
"""64-bit float type with 11-bit mantissa and 52-bit exponent."""
93+
"""64-bit float type with 51-bit mantissa and 11-bit exponent."""
9494
typeName = "float64_t"
9595
typeWidth = 64
9696
typeMantissa = 52

Deeploy/Logging.py

Lines changed: 1 addition & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,6 @@
1-
# ----------------------------------------------------------------------
1+
# SPDX-FileCopyrightText: 2025 ETH Zurich and University of Bologna
22
#
3-
# File: Logging.py
4-
#
5-
# Last edited: 22.08.2025
6-
#
7-
# Copyright (C) 2025, ETH Zurich and University of Bologna.
8-
#
9-
# Author:
10-
# - Philip Wiese, ETH Zurich
11-
#
12-
# ----------------------------------------------------------------------
133
# 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-
# www.apache.org/licenses/LICENSE-2.0
20-
#
21-
# Unless required by applicable law or agreed to in writing, software
22-
# distributed under the License is distributed on an AS IS BASIS, WITHOUT
23-
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
24-
# See the License for the specific language governing permissions and
25-
# limitations under the License.
264

275
# Setup logging
286
import logging

Deeploy/MemoryLevelExtension/CodeTransformationPasses/Closure.py

Lines changed: 1 addition & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,6 @@
1-
# ----------------------------------------------------------------------
1+
# SPDX-FileCopyrightText: 2023 ETH Zurich and University of Bologna
22
#
3-
# File: Closure.py
4-
#
5-
# Copyright (C) 2023, ETH Zurich and University of Bologna.
6-
#
7-
# Author: Moritz Scherer, ETH Zurich
8-
#
9-
# ----------------------------------------------------------------------
103
# SPDX-License-Identifier: Apache-2.0
11-
#
12-
# Licensed under the Apache License, Version 2.0 (the License); you may
13-
# not use this file except in compliance with the License.
14-
# You may obtain a copy of the License at
15-
#
16-
# www.apache.org/licenses/LICENSE-2.0
17-
#
18-
# Unless required by applicable law or agreed to in writing, software
19-
# distributed under the License is distributed on an AS IS BASIS, WITHOUT
20-
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
21-
# See the License for the specific language governing permissions and
22-
# limitations under the License.
234

245
from Deeploy.AbstractDataTypes import PointerClass, StructClass, VoidType
256
from Deeploy.CommonExtensions.CodeTransformationPasses.Closure import ClosureGeneration, _closureCallTemplate

Deeploy/MemoryLevelExtension/CodeTransformationPasses/PrintInputs.py

Lines changed: 1 addition & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,6 @@
1-
# ----------------------------------------------------------------------
1+
# SPDX-FileCopyrightText: 2023 ETH Zurich and University of Bologna
22
#
3-
# File: PrintInputs.py
4-
#
5-
# Copyright (C) 2023, ETH Zurich and University of Bologna.
6-
#
7-
# Author: Moritz Scherer, ETH Zurich
8-
#
9-
# ----------------------------------------------------------------------
103
# SPDX-License-Identifier: Apache-2.0
11-
#
12-
# Licensed under the Apache License, Version 2.0 (the License); you may
13-
# not use this file except in compliance with the License.
14-
# You may obtain a copy of the License at
15-
#
16-
# www.apache.org/licenses/LICENSE-2.0
17-
#
18-
# Unless required by applicable law or agreed to in writing, software
19-
# distributed under the License is distributed on an AS IS BASIS, WITHOUT
20-
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
21-
# See the License for the specific language governing permissions and
22-
# limitations under the License.
234

245
import re
256
from typing import Optional, Tuple
Lines changed: 1 addition & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,5 @@
1-
# ----------------------------------------------------------------------
1+
# SPDX-FileCopyrightText: 2021 ETH Zurich and University of Bologna
22
#
3-
# File: __init__.py
4-
#
5-
# Copyright (C) 2025, ETH Zurich and University of Bologna.
6-
#
7-
# Author: Philip Wiese, ETH Zurich
8-
#
9-
# ----------------------------------------------------------------------
103
# SPDX-License-Identifier: Apache-2.0
11-
#
12-
# Licensed under the Apache License, Version 2.0 (the License); you may
13-
# not use this file except in compliance with the License.
14-
# You may obtain a copy of the License at
15-
#
16-
# www.apache.org/licenses/LICENSE-2.0
17-
#
18-
# Unless required by applicable law or agreed to in writing, software
19-
# distributed under the License is distributed on an AS IS BASIS, WITHOUT
20-
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
21-
# See the License for the specific language governing permissions and
22-
# limitations under the License.
234

245
from . import *

Deeploy/Targets/Neureka/OptimizationPasses/MemoryLevelAnnotationPasses.py

Lines changed: 1 addition & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,6 @@
1-
# ----------------------------------------------------------------------
1+
# SPDX-FileCopyrightText: 2023 ETH Zurich and University of Bologna
22
#
3-
# File: MemoryLevelAnnotationPasses.py
4-
#
5-
# Copyright (C) 2023, ETH Zurich and University of Bologna.
6-
#
7-
# Author: Victor Jung, ETH Zurich
8-
#
9-
# ----------------------------------------------------------------------
103
# SPDX-License-Identifier: Apache-2.0
11-
#
12-
# Licensed under the Apache License, Version 2.0 (the License); you may
13-
# not use this file except in compliance with the License.
14-
# You may obtain a copy of the License at
15-
#
16-
# www.apache.org/licenses/LICENSE-2.0
17-
#
18-
# Unless required by applicable law or agreed to in writing, software
19-
# distributed under the License is distributed on an AS IS BASIS, WITHOUT
20-
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
21-
# See the License for the specific language governing permissions and
22-
# limitations under the License.
234

245
from typing import Tuple
256

Lines changed: 1 addition & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,5 @@
1-
# ----------------------------------------------------------------------
1+
# SPDX-FileCopyrightText: 2024 ETH Zurich and University of Bologna
22
#
3-
# File: __init__.py
4-
#
5-
# Copyright (C) 2024, ETH Zurich and University of Bologna.
6-
#
7-
# Author: Moritz Scherer, ETH Zurich
8-
#
9-
# ----------------------------------------------------------------------
103
# SPDX-License-Identifier: Apache-2.0
11-
#
12-
# Licensed under the Apache License, Version 2.0 (the License); you may
13-
# not use this file except in compliance with the License.
14-
# You may obtain a copy of the License at
15-
#
16-
# www.apache.org/licenses/LICENSE-2.0
17-
#
18-
# Unless required by applicable law or agreed to in writing, software
19-
# distributed under the License is distributed on an AS IS BASIS, WITHOUT
20-
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
21-
# See the License for the specific language governing permissions and
22-
# limitations under the License.
234

245
from . import *

Deeploy/Targets/PULPOpen/Templates/ReshapeTemplate.py

Lines changed: 1 addition & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,6 @@
1-
# ----------------------------------------------------------------------
1+
# SPDX-FileCopyrightText: 2021 ETH Zurich and University of Bologna
22
#
3-
# File: ReshapeTemplate.py
4-
#
5-
# Last edited: 16.12.2021
6-
#
7-
# Copyright (C) 2021, ETH Zurich and University of Bologna.
8-
#
9-
# Author: Moritz Scherer, ETH Zurich
10-
#
11-
# ----------------------------------------------------------------------
123
# SPDX-License-Identifier: Apache-2.0
13-
#
14-
# Licensed under the Apache License, Version 2.0 (the License); you may
15-
# not use this file except in compliance with the License.
16-
# You may obtain a copy of the License at
17-
#
18-
# www.apache.org/licenses/LICENSE-2.0
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.
254

265
from typing import Dict, List, Tuple
276

0 commit comments

Comments
 (0)