Skip to content

Conversation

@cperkinsintel
Copy link
Contributor

@cperkinsintel cperkinsintel commented Sep 9, 2024

quick fix for no_duplicate_devices that also works around the extra logging being performed by URLZ

The problem is that URLZA added unguarded debug statements. So every run of any sycl app outputs ZE_LOADER_DEBUG_TRACE:Using Loader Library Path: ZE_LOADER_DEBUG_TRACE:Tracing Layer Library Path: libze_tracing_layer.so.1 when running on stderr, even without setting DEBUG_TRACE.

This test failed because it uses &> to pipe both stderr and stdout to the FileCheck, which then chokes on the unexpected output. This PR fixes this test by using just >.

The change to URLZA to NOT constantly output is under review, IIRC.

Copy link
Contributor

@steffenlarsen steffenlarsen left a comment

Choose a reason for hiding this comment

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

LGTM!

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