Skip to content
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

SYCL toolchain build issues with XPTI #16804

Open
abagusetty opened this issue Jan 27, 2025 · 0 comments
Open

SYCL toolchain build issues with XPTI #16804

abagusetty opened this issue Jan 27, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@abagusetty
Copy link
Contributor

Describe the bug

Faced with build errors from XPTI when building HIP backend for AMD using gcc-13.3.0 and rocm-6.3.0

Configured with:

CC=`which gcc` CXX=`which g++` python3 ./buildbot/configure.py -t Release --native_cpu --hip --hip-platform AMD --llvm-external-projects openmp --cmake-opt="-DUR_HIP_ROCM_DIR=/soft/compilers/rocm/rocm-6.3.0"

Some of the build errors are shown below:

/vast/users/abagusetty/compilers/today/llvm/xpti/../xpti/include/xpti/xpti_trace_framework.h:149:11: error: ‘xpti’ does not name a type
  149 |   virtual xpti::result_t first_item(char **key, xpti::object_id_t &value) = 0;



/vast/users/abagusetty/compilers/today/llvm/xpti/../xpti/include/xpti/xpti_trace_framework.h:1009:23: error: typedef ‘xpti_lookup_string_t’ is initialized (use ‘decltype’ instead)
 1009 | typedef const char *(*xpti_lookup_string_t)(xpti::string_id_t);
      |                       ^~~~~~~~~~~~~~~~~~~~



/vast/users/abagusetty/compilers/today/llvm/sycl/tools/sycl-trace/ur_trace_collector.cpp:107:1: error: ‘XPTI_CALLBACK_API’ does not name a type; did you mean ‘XPTI_CALLBACK_API_EXPORTS’?
  107 | XPTI_CALLBACK_API void urCallback(uint16_t TraceType,

To reproduce

No response

Environment

No response

Additional context

No response

@abagusetty abagusetty added the bug Something isn't working label Jan 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant