Skip to content

Move vectorize_pred to test/correctness, fix failing_with_issue build#9112

Open
kjg0724 wants to merge 1 commit intohalide:mainfrom
kjg0724:fix/failing-with-issue-phase1
Open

Move vectorize_pred to test/correctness, fix failing_with_issue build#9112
kjg0724 wants to merge 1 commit intohalide:mainfrom
kjg0724:fix/failing-with-issue-phase1

Conversation

@kjg0724
Copy link
Copy Markdown

@kjg0724 kjg0724 commented Apr 29, 2026

Issue #3357 now passes. Rewrote vectorize_pred to initialize f/g with
cast(0) so all positions are deterministic and the full output is
compared. Widened to W = vec_width * 4, H = 1000.

Update 3292/3293 allocator callbacks to JITUserContext* (the old
void* user_context and set_custom_allocator() API was removed).

Add EXPECT_FAILURE so ctest treats the still-crashing tests as known
failures. Comment out 4283 (no source file in tree). Enable
add_subdirectory(failing_with_issue).

Issue halide#3357 now passes. Rewrote the test to initialize f/g with
cast<A>(0) rather than undef so all positions are deterministic and
the full output is compared. Widened to W = vec_width * 4, H = 1000
to cover more predicate-edge conditions.

Update 3292 and 3293 to the current JITUserContext* allocator API
(set_custom_allocator was removed). Add EXPECT_FAILURE so ctest treats
the still-crashing tests as known failures. Comment out 4283 whose
source file does not exist.

Enable add_subdirectory(failing_with_issue) in test/CMakeLists.txt.
@kjg0724 kjg0724 force-pushed the fix/failing-with-issue-phase1 branch from 5e40b9c to ebfa487 Compare April 29, 2026 07:28
@kjg0724
Copy link
Copy Markdown
Author

kjg0724 commented Apr 29, 2026

Updated: gate failing_with_issue behind WITH_TEST_FAILING_WITH_ISSUE=OFF (consistent with other test dirs), delete orphaned 3357_vectorize_pred.cpp.

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.

1 participant