-
Notifications
You must be signed in to change notification settings - Fork 191
Fortran function like #3135
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
Merged
Merged
Fortran function like #3135
Changes from all commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
d7f0dab
Add Fortran enzyme_function_like bindings
isaacaka a19d6a6
Factor common function-like handling into a helper.
isaacaka 0ce21bf
Handle Fortran enzyme_function_like calls
isaacaka 0960d96
Add test for function_like enzyme features
isaacaka 749000e
Add documentation for using function-like
isaacaka 29ca059
Add a warning for if function-like is applied twice
isaacaka 246ba92
Add case for handling fortran prodedure pointer
isaacaka 085652d
Change string matching from contains to starts_with
isaacaka d6fed35
Add example usage for function_like
isaacaka 1032b82
Test function_like feature via procedure pointer
isaacaka 775cbb1
Use startsWith helper
isaacaka c133c86
Fix formatting
isaacaka d9d355f
Apply suggestion from @joewallwork
isaacaka 7804ba5
Apply suggestion from @joewallwork
isaacaka 4e5a205
Move check to a lit test, replace double with real
isaacaka 4705bb7
Add bindings for common maths functions
isaacaka cd93012
Remove the use of modules, improve naming
isaacaka 8f960cc
Update README with additional example use
isaacaka 4375498
Remove examples with external function
isaacaka 11adb82
Simplify explanation for registering module functions
isaacaka fb87520
Add additional bindings for maths operations
isaacaka adb5857
Move procedure pointer into module with unique name
isaacaka dd42edf
Add test for procedure pointer in module delcaration
isaacaka 92ce962
Fix lint error, add 'public' statement
isaacaka 6a252ce
Removed enzyme_math bindings
isaacaka 0e5f92e
Fix lint errors
isaacaka 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
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.