Move cuFile linking to kvikio target#379
Move cuFile linking to kvikio target#379rapids-bot[bot] merged 13 commits intorapidsai:branch-24.06from
Conversation
There was a problem hiding this comment.
Yes, kvikio's cuFile dependency should be handled the same way we handle cuFile packages in libkvikio. This looks right to me. Thanks!
(I've only ever checked cuFile support for libkvikio because that's what we use in libcudf, so I wasn't aware of this.)
|
What I don't understand is why this doesn't already work. kvikio/conda/recipes/libkvikio/meta.yaml Lines 77 to 85 in 6ed7bcc |
|
...and it seems this change doesn't work either. I need to go back to the drawing board. |
|
Thanks Kyle! 🙏 Think Am curious if there are more details on what is not working with this change. Would also have expected this to work |
|
I'm still getting the same error: |
|
Could you please share a bit more on how that is coming up? Is that one of the GHA jobs here? Or is that a local build? If so, are there any details? Taking a look at one of the CUDA 12.2 Same story with one of the CUDA 11.8 Note that cuFile's Stream API was added in CUDA 12.2. So it is expected to be disabled in CUDA 11.8 Admittedly haven't checked all of the jobs. So could be missing things |
|
It looks like cmake dosn't run Reverting #342 fixes the issue. |
|
Local testing seems to indicate that this fix works. Ready for review. |
bdice
left a comment
There was a problem hiding this comment.
Wonderful! Thank you for the additional comments.
|
Something seems off here. I agree that the changes are good for FetchContent/add_subdirectory like use cases, but IIUC we were observing issues with conda Python builds which should be finding libkvikio's config, right? Why aren't they? |
|
/merge |
This was discussed offline and is being fixed in #381. |
Use `build.sh` in `meta.yaml`, and pass `-DFIND_KVIKIO_CPP=ON` to CMake. xref: #379 (comment) Fixes #378 Authors: - Kyle Edwards (https://github.com/KyleFromNVIDIA) Approvers: - Bradley Dice (https://github.com/bdice) - Vyas Ramasubramani (https://github.com/vyasr) - Jake Awe (https://github.com/AyodeAwe) URL: #381
The exported
kvikiotarget has anINTERFACEdependency on cuFile. Add this dependency in the local buildsystem too for consistency, and remove the usage from the examples. This will allow all targets that link againstkvikioto automatically get cuFile, including the Python modules.Fixes: #378