Add an option --gpu-instrument-lib= to allow users to specify
an instrument device library. This is for supporting -finstrument
in device code for debugging/profiling tools.
Details
Details
- Reviewers
tra - Commits
- rG64f7790e7d23: [HIP] Add option --gpu-instrument-lib=
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Perhaps we should start thinking of shipping some of that bitcode along with clang.
Then the instrumentation library could be linked with automatically by the driver when -finstrument is specified.
We already need bitcode for the math library for both NVPTX and AMDGPU and will likely need more for other things that depend on things that are standard on the host.