Comments (4)
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.
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.
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.
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)
- dump ISA HOT 1
- build problem HOT 2
- Is there a workaround for "Version mismatch between HSA runtime and libhsa-runtime-tools64.so.1"?" HOT 3
- When will we get a ROCm 1.9 compatible release? HOT 2
- Incompatible git command HOT 1
- Failed to generate profile result HOT 9
- [Build failure] [HSAFdnTrace] Missing header and wrong definition HOT 1
- Navi10 support on launch day?
- Build failure in AMDTActivityLoggerProfileControl HOT 4
- Incorrectly parse arguments with spaces
- Missing basic counters from full list of performance counters
- Build RCP for Gentoo Linux using GCC 9.1 - problems and solutions
- Building RCP-5.6 - HSAFdnCommon misses "amd_hsa_tools_interfaces.h"
- Build Instructions - Linux - arguments to build_rcp.sh
- Build failure in scons HOT 2
- kernel output with all fails to generate the output profile HOT 1
- build failed according to instuction
- Build failure in AMDTActivityLoggerProfileControl.cpp HOT 1
- Doesn't find amd_comgr.h automatically
- RCP can support rocm4.0.0/4.0.1 ?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from radeon_compute_profiler.