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

Add optional runtime H::R::Buffer access checks #6660

Merged
merged 6 commits into from
Mar 29, 2022

Conversation

steven-johnson
Copy link
Contributor

This adds some optional assert() checks to HRB's operator() and friends. They are only enabled if HALIDE_RUNTIME_BUFFER_CHECK_INDICES=1 is defined at compile time.

Also fixes errors found by enabling these assertions and running tests.

This adds some optional `assert()` checks to HRB's `operator()` and friends. They are only enabled if `HALIDE_RUNTIME_BUFFER_CHECK_INDICES=1` is defined at compile time.

Also fixes errors found by enabling these assertions and running tests.
@steven-johnson
Copy link
Contributor Author

Monday morning review ping

@steven-johnson steven-johnson merged commit ed3f4a7 into main Mar 29, 2022
@steven-johnson steven-johnson deleted the srj/optional-buffer-check branch March 29, 2022 00:10
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.

2 participants