Skip to content

Conversation

@kbenzie
Copy link
Contributor

@kbenzie kbenzie commented Aug 16, 2024

As part of removing the plugin interface a check was added for the use of the SYCL_PI_TRACE environment variable. However, this was only applied on the Windows path. This patch moves this check to a common path for both Windows and Linux.

As part of removing the plugin interface a check was added for the
use of the `SYCL_PI_TRACE` environment variable. However, this was only
applied on the Windows path. This patch moves this check to a common
path for both Windows and Linux.
@kbenzie kbenzie requested review from a team as code owners August 16, 2024 15:41
@kbenzie kbenzie requested a review from againull August 16, 2024 15:41
@againull againull merged commit 8c21271 into intel:sycl Aug 16, 2024
// std::call_once is blocking all other threads if a thread is already
// creating a vector of plugins. So, no additional lock is needed.
std::call_once(PluginsInitDone, [&]() {
// TODO: Remove this SYCL_PI_TRACE notification in the first patch release
Copy link
Contributor

Choose a reason for hiding this comment

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

Note that this is a functional change for which we have no test so it will be easy to accidentally drop/break this diagnostics

AlexeySachkov pushed a commit to AlexeySachkov/llvm that referenced this pull request Nov 26, 2024
As part of removing the plugin interface a check was added for the use
of the `SYCL_PI_TRACE` environment variable. However, this was only
applied on the Windows path. This patch moves this check to a common
path for both Windows and Linux.
@kbenzie kbenzie deleted the benie/fix-pi-trace-notification branch December 18, 2024 13:28
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.

6 participants