Skip to content

Conversation

jchlanda
Copy link
Contributor

Prevent check_error from printing error message. This is handy in CI where we would like to match on messages generated by the underlying driver, over which we have no control, and check_error could garble that output.

Fixes: #6416

@jchlanda
Copy link
Contributor Author

/verify with: intel/llvm-test-suite#1089

@@ -169,6 +169,7 @@ variables in production code.</span>
| Environment variable | Values | Description |
| -------------------- | ------ | ----------- |
| `SYCL_PI_CUDA_ENABLE_IMAGE_SUPPORT` (experimental) | Any(\*) | Enable support of images. This option is experimental since the image support is not fully implemented. |
| `SYCL_PI_SUPPRESS_ERROR_MESSAGE` (experimental) | Any(\*) | Suppress printing of error message, only used for CI in order not to interrupt errors generated by underlying toolchains. |
Copy link
Contributor

Choose a reason for hiding this comment

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

Should this be moved to the greater SYCL RT env var section since this is not CUDA specific?
It'd be good to clarify in the descriptions what are the errors being suppressed and how execution proceeds with the errors being silent.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yeap, I think you are right, I'll move it to Debugging variables for DPC++ Runtime and add clarifications.

@jchlanda jchlanda requested a review from smaslov-intel July 12, 2022 09:59
Copy link
Contributor

@bader bader left a comment

Choose a reason for hiding this comment

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

Thanks!

@bader bader merged commit 25c34bf into intel:sycl Jul 13, 2022
@bader
Copy link
Contributor

bader commented Jul 13, 2022

Fixes: #6416

I think we need to set this variable in the test to fix #6416. Right?

@jchlanda
Copy link
Contributor Author

Fixes: #6416

I think we need to set this variable in the test to fix #6416. Right?

Yeap, it's been done here: https://github.com/intel/llvm-test-suite/pull/1089/files

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.

Flaky CI failure on SYCL :: Assert/assert_in_simultaneous_kernels.cpp on CUDA
3 participants