-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Add special build for testing serialization via a serialization roundtrip in JIT compilation and fix serialization leaks #7763
Merged
TH3CHARLie
merged 36 commits into
halide:main
from
TH3CHARLie:xuanda/serialization-testing
Nov 6, 2023
Merged
Changes from 33 commits
Commits
Show all changes
36 commits
Select commit
Hold shift + click to select a range
c0cf44d
add back JIT testing, enclosed in #ifdef blocks
TH3CHARLie d674662
fix typo
TH3CHARLie 3a2de83
nits
TH3CHARLie de155f1
WITH_SERIALIZATION_JIT->WITH_SERIALIZATION_JIT_ROUNDTRIP_TESTING
steven-johnson 01fc657
Merge branch 'main' into pr/7763
steven-johnson bad7fb0
Merge branch 'main' into pr/7763
steven-johnson 7260cd9
fix self-reference leaks: now uses weak function ptr in reverse funct…
TH3CHARLie 7559e3b
Merge branch 'main' into pr/7763
steven-johnson 951c714
Merge branch 'xuanda/serialization-testing' of https://github.com/TH3…
steven-johnson ee10d4c
Move clang-tidy checks back to Linux
steven-johnson 20cf471
bogus
steven-johnson b4fff91
Update Generator.cpp
steven-johnson 8c5f3ac
Merge branch 'srj/tidy-revert' into pr/7763
steven-johnson 9b812b8
Update Generator.cpp
steven-johnson 6c4ef67
Merge branch 'srj/tidy-revert' into pr/7763
steven-johnson 67de0ad
Merge branch 'main' into pr/7763
steven-johnson 0748868
Merge branch 'main' into pr/7763
steven-johnson e1fb1c3
Merge branch 'main' into pr/7763
steven-johnson 4bd7179
call copy_to_host before serializing buffers
TH3CHARLie 0986319
throw an error if we serialize on-device buffer
TH3CHARLie f2977c7
Merge branch 'main' into pr/7763
steven-johnson 48f479f
Skip specialize_to_gpu
steven-johnson 50cfc54
Merge branch 'main' into pr/7763
steven-johnson 955a6d7
Merge branch 'main' into pr/7763
steven-johnson 8c98d59
Update Pipeline.cpp
steven-johnson feacc37
Merge branch 'main' into pr/7763
steven-johnson 004b8ee
Skip two more tests
steven-johnson de8818d
Merge remote-tracking branch 'origin/main' into xuanda/serialization-…
TH3CHARLie d488510
use serialize to memory during jit testing
TH3CHARLie ca33de5
makefile update
TH3CHARLie 1d273d3
makefile fix
TH3CHARLie 0428ad1
skip the tutorial if flatc is not there
TH3CHARLie 441bce4
fix
TH3CHARLie a538bc0
fix signature
TH3CHARLie ef7e91b
fix makefile
TH3CHARLie 12583c0
trigger buildbot
TH3CHARLie 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 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 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 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 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 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 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 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 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 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
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.
Are you sure this is necessary? These flags are the ones that would be set by users of Halide. It would be bad if they needed to set any of this to use serialization.
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.
I think we should just remove this part, we already skipping tutorial 23 if no flatc found.
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.
Agreed.