Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OPEN: FP integration (v2) #12

Merged
merged 20 commits into from
Nov 14, 2024
Merged

OPEN: FP integration (v2) #12

merged 20 commits into from
Nov 14, 2024

Conversation

FrancescoConti
Copy link
Member

@FrancescoConti FrancescoConti commented Nov 9, 2024

This PR is my own take on #3 and follows up directly all the comments discussed in that PR. I do not continue that one directly as it comes from a branch in a privately owned repository.

Compared to the last version discussed there:

  • removed extra code / spurious comments
  • radically simplified the FloatImmediate checkValue
  • removed offset and n_levels from FloatAddTemplate

Limitations:

  • currently cannot be tested with bfloat16_t and float16_t data types due to lack of compiler support in LLVM15.

This is better aligned with conventions and the rest of the code.
Copy link
Collaborator

@Scheremo Scheremo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey guys,

I appreciate the additional changes to the FloatImmediateType class, I feel it's very comprehensive now. I left a few minor open points, but modulo a passing CI, this PR seems merge-worthy to me.

EDIT: Currently typing tests are failing, but it seems due to an important of bfloat16 which is simply not implemented.

Deeploy/CommonExtensions/DataTypes.py Outdated Show resolved Hide resolved
#
# Copyright (C) 2021, ETH Zurich and University of Bologna.
#
# Author: Moritz Scherer, ETH Zurich
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NIT: I appreciate the credit, but you might want to claim it for yourselves :)

Deeploy/Targets/Generic/TypeCheckers.py Show resolved Hide resolved
Deeploy/Targets/Generic/TypeCheckers.py Show resolved Hide resolved
DeeployTest/testUtils/typeMapping.py Outdated Show resolved Hide resolved
Copy link
Member

@Victor-Jung Victor-Jung left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, I will merge this amazing PR as soon as you add the FloatAdder test to the CI and justify the changes to banshee.patch

toolchain/banshee.patch Outdated Show resolved Hide resolved
@Victor-Jung Victor-Jung merged commit 7f33810 into devel Nov 14, 2024
208 checks passed
@FrancescoConti
Copy link
Member Author

FrancescoConti commented Nov 14, 2024 via email

@FrancescoConti FrancescoConti deleted the fconti/float branch November 14, 2024 13:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants