File tree Expand file tree Collapse file tree
MemoryLevelExtension/CodeTransformationPasses
Neureka/OptimizationPasses Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -90,7 +90,7 @@ class float32_t(FloatImmediate):
9090
9191
9292class 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
Original file line number Diff line number Diff line change 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
286import logging
Original file line number Diff line number Diff line change 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
245from Deeploy .AbstractDataTypes import PointerClass , StructClass , VoidType
256from Deeploy .CommonExtensions .CodeTransformationPasses .Closure import ClosureGeneration , _closureCallTemplate
Original file line number Diff line number Diff line change 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
245import re
256from typing import Optional , Tuple
Original file line number Diff line number Diff line change 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
245from . import *
Original file line number Diff line number Diff line change 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
245from typing import Tuple
256
Original file line number Diff line number Diff line change 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
245from . import *
Original file line number Diff line number Diff line change 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
265from typing import Dict , List , Tuple
276
You can’t perform that action at this time.
0 commit comments