Giter Club home page Giter Club logo

Comments (4)

chesik-amd avatar chesik-amd commented on July 20, 2024

Those two header files are part of a ROCm install (they should be inthe same location as hsa.h which is typically /opt/rocm/hsa/include/hsa. Do you have either rocm or rocm-dev installed (see https://github.com/GPUOpen-Tools/RCP/blob/master/BUILD.md#building-the-hsarocm-profiler)?

If you don't have ROCm files available, you can add "skip-hsaprofiler" to the build_rcp.sh command line.

The other errors (the warning and missing include) may be related to using gcc 7. We haven't done any work to support building with gcc7 yet.

from radeon_compute_profiler.

acowley avatar acowley commented on July 20, 2024

Thank you for the quick response!

I do have an hsa.h which comes from the ROCR-Runtime repository, but the files I mentioned are not included there. The installation is entirely built from source, so I do not have the rocm or rocm-dev apt packages installed on that machine, but I do have enough to build things like hip or various OpenCL things from source.

from radeon_compute_profiler.

chesik-amd avatar chesik-amd commented on July 20, 2024

Yes, this seems liks a gap. Those two header files are part of a library (libhsa-runtime-tools64.so) which is not open-sourced. We rely on the fact that those header files are available after installing the ROCm packages.

Changes have been submitted (to both the common-src-AMDTOSWrappers repo and the RCP repo) to allow RCP to build with gcc7

from radeon_compute_profiler.

chesik-amd avatar chesik-amd commented on July 20, 2024

With changes in RCP 5.6 and with one addtional commit to "master", this should no longer be an issue. Please reopen, if I've missed something and unavailable headers are still referenced when building RCP from source

from radeon_compute_profiler.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.