-
Notifications
You must be signed in to change notification settings - Fork 23
Insert call instructions (without any caching) #1276
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
jumerckx
wants to merge
40
commits into
main
Choose a base branch
from
jm/make_mlir_fn
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.
Open
Changes from 37 commits
Commits
Show all changes
40 commits
Select commit
Hold shift + click to select a range
4dde0d3
use `args_in_result=:all` instead of `result_and_mutated`. In the fut…
jumerckx 50f6d88
fix implementation of `Base.similar(::Broadcasted, ...)` to call `Ops…
jumerckx a72a1a1
add `make_tracer` for `Memory`
jumerckx 454e280
fix for `TracedToType`
jumerckx 6a0fc38
allow `path=nothing` in `make_tracer` to keep path as is and just rec…
jumerckx 885b09c
`make_mlir_fn` fixes
jumerckx 8d64d4d
WIP automatic function call insertion
jumerckx cc64c9e
add `mutate_args`
jumerckx caf0fe8
TracedToTypes for TracedRArray should look at objectid.
jumerckx fb60071
with automatic call tracing, it turns out that `tobatch` can be !isno…
jumerckx f14c755
automatic function call insertion but don't cache at all
jumerckx 3990b0e
disable const dedup test for now.
jumerckx 68e7079
Merge remote-tracking branch 'origin/main' into jm/make_mlir_fn
jumerckx 264d3dd
fix?
jumerckx 7c732dc
disable 1.10 CI until I fix it.
jumerckx 0eabdc7
fix `seen_args` error
jumerckx 886b16c
change `should_trace_call` to `trace_call_within` to still generate a…
jumerckx 31a55b8
add try-finally in generated code
jumerckx 1735b43
Merge branch 'main' into jm/make_mlir_fn
jumerckx 0ad0017
`set_mlir_data!` for `MissingTracedValue`
jumerckx 02ca88f
Revert "disable 1.10 CI until I fix it."
jumerckx efee7ff
fallback for `set_mlir_data!`
jumerckx 364c9b9
don't trace through functions that capture values (sizeof != 0) or Br…
jumerckx 12b689e
also take into acount resarg
jumerckx 5fd1b4c
fix
jumerckx 899bf9f
remove Dict typing in `LinearAlgebra._diagm` as this gives trouble wh…
jumerckx 4e0af6f
formatting
jumerckx 9f15feb
Merge branch 'main' into jm/make_mlir_fn
jumerckx aeb068c
guard `make_tracer` for Memory for v1.11
jumerckx c680db1
Merge branch 'main' into jm/make_mlir_fn
jumerckx 0905b42
bail is_traced when a field is undefined
jumerckx c0448bb
don't trace calls that have no traced arguments
jumerckx 9fd2246
insert function name in verify_arg_names when call is wrapped in `Rea…
jumerckx 02fe9b1
locally disable call tracing in `Base._cat_t(..., ::TracedRArray)`
jumerckx 6270b53
disable call tracing in `from_locals` expression in `trace_while`
jumerckx 49c1345
don't blacklist methods from Reactant modules now that methods are no…
jumerckx 5f91692
disable for some control flow tests when call tracing is enabled.
jumerckx 1936393
Merge remote-tracking branch 'origin/main' into jm/make_mlir_fn
jumerckx 6b15ca2
fix
jumerckx c288fce
formatting
jumerckx 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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This needs to be changed because we can't depend on Reactant here. I could add a macro
@notrace_calls
in ReactantCore?