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

math_brute_force: skip all enqueues in -l mode #1993

Merged
merged 1 commit into from
Aug 6, 2024

Conversation

svenvh
Copy link
Member

@svenvh svenvh commented Jun 28, 2024

The math_brute_force test has a link-check-only mode to quickly test if all math functions are present.

In link-check-only mode, most tests return immediately after kernel compilation, but some tests also run the kernel and read back the result data before returning. Running the kernels takes a lot more time, defeating the purpose of the -l mode.

Break out at the start of the main for loops in link-check-only mode instead of returning directly, so that each test can still log its trailing message (in most cases just a \n).

The math_brute_force test has a link-check-only mode to quickly test
if all math functions are present.

In link-check-only mode, most tests return immediately after kernel
compilation, but some tests also run the kernel and read back the
result data before returning.  Running the kernels takes a lot more
time, defeating the purpose of the `-l` mode.

Break out at the start of the main `for` loops in link-check-only mode
instead of returning directly, so that each test can still log its
trailing message (in most cases just a `\n`).

Signed-off-by: Sven van Haastregt <sven.vanhaastregt@arm.com>
@bashbaug
Copy link
Contributor

bashbaug commented Aug 6, 2024

Merging as discussed in the August 6th teleconference.

@bashbaug bashbaug merged commit 5be093e into KhronosGroup:main Aug 6, 2024
7 checks passed
@svenvh svenvh deleted the math-linkcheck branch August 7, 2024 11:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants