Parallelize some tests by abadams · Pull Request #8078 · halide/Halide · GitHub
Skip to content

Parallelize some tests#8078

Merged
abadams merged 12 commits into
mainfrom
abadams/parallel_simd_op_check
Feb 13, 2024
Merged

Parallelize some tests#8078
abadams merged 12 commits into
mainfrom
abadams/parallel_simd_op_check

Conversation

@abadams

@abadams abadams commented Feb 8, 2024

Copy link
Copy Markdown
Member

This reduces the time taken to run all correctness tests from 8:15 to 3:15 on my machine.

It composes reasonably well with test sharding, but it's a bit weird that both mechanisms exist.

simd_op_check needed some reworking to avoid shared state between the threads.

@abadams

abadams commented Feb 9, 2024

Copy link
Copy Markdown
Member Author

@steven-johnson

Copy link
Copy Markdown
Contributor

No, unfortunately. ASAN can be weird sometimes. I could try pulling this into google3 and testing there.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What's with this change?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Accidental commit. Will revert.

@abadams abadams merged commit c8f43f3 into main Feb 13, 2024
ardier pushed a commit to ardier/Halide-mutation that referenced this pull request Mar 3, 2024
* Parallelize some tests

This reduces the time taken to run all correctness tests from 8:15 to
3:15 on my machine.

* The FIXME is actually fine

* Remove debug print

* Fix when we're willing to run x86 code in simd_op_check

* Use separate imageparams per task

* Deep-copy the LoopLevels

* Make float16_t neon op check test at least build

* Revert accidental serialization

* Throw return values from callable into the void

We don't have a custom error handler in place, so they're always zero

* Skip test under ASAN

* Fix unintentional change to test
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