oneapi-src / oneapi-src/unified-runtime

[CUDA] Improve the loading process of the CUPTI library when tracing

Open
#1,189 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

cuda
Dominant language
C++
Stars
57
Forks
120
Avg merge
1d 14h
Merged PRs (30d)
1

Description

https://github.com/oneapi-src/unified-runtime/pull/1070 uses a hard-coded path for the CUPTI library. This might cause issues when using CUDA adapter builds on a different system where the library is located in a different directory. This process could be improved in several ways, e.g. letting the user override the path through an environment variable, checking well-known paths, using the RPATH, etc.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Review PR #1070 and the CUDA adapter's CUPTI loading path first. Compare the hard-coded library location with how CUDA adapter builds run on systems where CUPTI is elsewhere, then establish and implement a supported discovery or override approach. Done means tracing can load CUPTI across those environments without relying on one fixed path.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
backend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.