-
Notifications
You must be signed in to change notification settings - Fork 191
Single-precision (fp32) build support #5033
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
hardik-corintis
wants to merge
35
commits into
firedrakeproject:main
Choose a base branch
from
Corintis:fp32-support
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+378
−104
Open
Changes from all commits
Commits
Show all changes
35 commits
Select commit
Hold shift + click to select a range
fac7012
Fix single-precision (fp32) support: TSFC initializer dtype cast and …
hardik-corintis fcf7b57
Replacing double with Petsc.RealType
hardik-corintis 561feed
Use PETSc types for precision and integer width in C code
hardik-corintis 47a1ad2
Replace hardcoded dtypes with PETSc-derived types
hardik-corintis e38b9a7
Add single-precision (fp32) build support and detection
hardik-corintis 39f82af
Fix sparsity.pyx: revert broken PetscScalar cimport
hardik-corintis fa4b924
skipping tests for single precision
hardik-corintis d3d8aec
DBL_MAX to PETSC_MAX_REAL
hardik-corintis 2a0b767
fp32 detection in tests
hardik-corintis b0bbca6
ensuring that coordinates are real
hardik-corintis 00b7f75
Cleaning up
hardik-corintis a986f20
Fix PetscScalar/PetscReal type mismatch in prolong/restrict kernels a…
hardik-corintis 6ddb6ae
restoring tests/test_durations.json
hardik-corintis 3076a4d
reverting solver parameters back to original form
hardik-corintis d65cd77
Port missing dtype=int -> IntType fixes
hardik-corintis 64cce3f
adding dtypes for int
hardik-corintis 21337e9
Update skipsingle comment for test_parallel_high_order_location
hardik-corintis 15fd4cc
removed alias fp32
hardik-corintis b8a679f
Add single-complex arch to firedrake-configure; drop _fp32 alias in t…
hardik-corintis 3cd08b8
Fix duplicate SINGLE arch keys and missing CC in UNKNOWN SINGLE_COMPLEX
hardik-corintis 088e87e
Add comments explaining Cython typedef nominal hint for fp32 builds
hardik-corintis af8f153
convergence eps constant, PETSC_MAX_REAL, tsfc type guard, skipsingle…
hardik-corintis 57be852
IntType cleanup, arch moves to CommunityArch, test tolerance fixes, f…
hardik-corintis 326b0d9
Restore blank lines
hardik-corintis e13b4e1
cleaning up comments
hardik-corintis 40ab2d8
Update .github/workflows/push.yml
hardik-corintis 2af6283
fixing linting
hardik-corintis e868f52
addressing comments from Connor
hardik-corintis 2f3834d
Merge branch 'firedrakeproject:main' into fp32-support
hardik-corintis 78bd945
ci:single-complex label and test_single_complex CI input
hardik-corintis d789bcd
adding a missing hypen in "--download-mumps-avoid-mpi-in-place"
hardik-corintis b33ee9c
adding flag so hypre compiles with single precision
hardik-corintis 911bcd4
fixing a unit test
hardik-corintis 083feda
removing superlu from complex-single
hardik-corintis 557df42
removing hypre from single-complex
hardik-corintis File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.