Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting undefined symbol: cuFileReadAsync on CTK 12.0 #566

Closed
madsbk opened this issue Dec 4, 2024 · 0 comments · Fixed by #565
Closed

Getting undefined symbol: cuFileReadAsync on CTK 12.0 #566

madsbk opened this issue Dec 4, 2024 · 0 comments · Fixed by #565
Labels
bug Something isn't working

Comments

@madsbk
Copy link
Member

madsbk commented Dec 4, 2024

Currently, trying to load cuFile fails on CTK 12.0 systems, see : https://github.com/rapidsai/kvikio/actions/runs/12133477083/job/33877440755.

The problem is that we use KVIKIO_CUFILE_STREAM_API_FOUND to determine cuFileReadAsync support, which is available at compile time but not at runtime.

@madsbk madsbk added the bug Something isn't working label Dec 4, 2024
@madsbk madsbk mentioned this issue Dec 4, 2024
@rapids-bot rapids-bot bot closed this as completed in #565 Dec 5, 2024
rapids-bot bot pushed a commit that referenced this issue Dec 5, 2024
Fixes #566

To clean up and make cufile capability detection more robust,  we now use `cuFileGetVersion()`. 
Should fix the nightly failure: https://github.com/rapidsai/kvikio/actions/runs/12133477083/job/33877440755

NB:  `cuFileGetVersion()` first became available in cufile v1.8 (CTK v12.3) thus the stream and batch API detection will return false for  versions older than v1.8. I think this is acceptable for robustness.

Authors:
  - Mads R. B. Kristensen (https://github.com/madsbk)

Approvers:
  - Lawrence Mitchell (https://github.com/wence-)
  - Vyas Ramasubramani (https://github.com/vyasr)
  - Bradley Dice (https://github.com/bdice)

URL: #565
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant