Skip to content

Add /opt/cuda to default candidates - #190

Open
svenstaro wants to merge 4 commits into
NVlabs:mainfrom
svenstaro:patch-1
Open

Add /opt/cuda to default candidates#190
svenstaro wants to merge 4 commits into
NVlabs:mainfrom
svenstaro:patch-1

Conversation

@svenstaro

Copy link
Copy Markdown

Arch Linux uses /opt/cuda and I think it would be neat if it just worked out of the box.

Arch Linux uses /opt/cuda and I think it would be neat if it just worked out of the box.
@copy-pr-bot

copy-pr-bot Bot commented Jul 12, 2026

Copy link
Copy Markdown

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

@elibol

elibol commented Jul 21, 2026

Copy link
Copy Markdown
Collaborator

Hi @svenstaro! Thanks for the contribution and your patience. Happy to support Arch out of the box. Do you mind having a look a the following?

  1. The same candidate list is duplicated in cutile-compiler/src/cuda_tile_runtime_utils.rs (default_cuda_toolkit_candidates), where it drives runtime discovery of the tileiras binary. Without adding /opt/cuda there too, an Arch install would pass the build but still fail to locate tileiras at run time. Can you mirror the addition there (in the same position, after /usr/local/cuda)?
  2. The README's "Configure Environment" section lists the default search locations — could you add /opt/cuda to that sentence as well?

@svenstaro

Copy link
Copy Markdown
Author

Hey @elibol, sorry, didn't see your comment. I think I addressed your comments now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants