-
Notifications
You must be signed in to change notification settings - Fork 798
[SYCL] Introduce SYCL_PI_SUPPRESS_ERROR_MESSAGE #6428
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
Conversation
/verify with: intel/llvm-test-suite#1089 |
sycl/doc/EnvironmentVariables.md
Outdated
@@ -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. | |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
Yeap, it's been done here: https://github.com/intel/llvm-test-suite/pull/1089/files |
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, andcheck_error
could garble that output.Fixes: #6416