Skip to content

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 steven-johnson requested a review from abadams March 25, 2022 23:58
@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.

3 participants