You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When building pi-trace with tip sycl, the include path to xpti seems to not be configured properly.
I end up with a
llvm/sycl/tools/pi-trace/pi_trace.cpp:13:10: fatal error: xpti_trace_framework.h: No such file or directory
13 | #include "xpti_trace_framework.h"
| ^~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
I tried a fresh build and configured using the configure script in the buildbot folder (python3 buildbot/configure.py -s . -o ../build -t Release --cuda), but after this I end up with the path to opencl headers not being found:
llvm/sycl/include/CL/sycl/detail/cl.h:17:10: fatal error: CL/cl.h: No such file or directory
17 | #include <CL/cl.h>
(I rely on the headers pulled by the project)
If I remove the add_subdirectory(pi-trace) from sycl/tools everything builds fine.
Environment (please complete the following information):
This patch re-lands #3973 with fixes to #4137
----
This PR adds capability to capture PI calls' arguments and pass this data to XPTI subscribers. The sample pi-trace library demonstrates how one can parse this data on the subscriber side. An example usage of this utility would be:
```bash
XPTI_TRACE_ENABLE=1 XPTI_FRAMEWORK_DISPATCHER=lib/libxptifw.so XPTI_SUBSCRIBERS=lib/libpi_trace.so ./my_app
```
Describe the bug
When building
pi-trace
with tipsycl
, the include path toxpti
seems to not be configured properly.I end up with a
I tried a fresh build and configured using the configure script in the buildbot folder (
python3 buildbot/configure.py -s . -o ../build -t Release --cuda
), but after this I end up with the path to opencl headers not being found:(I rely on the headers pulled by the project)
If I remove the
add_subdirectory(pi-trace)
fromsycl/tools
everything builds fine.Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: