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

[FEA]: Implement <cuda/experimental/file> #3359

Open
1 task done
davebayer opened this issue Jan 12, 2025 · 2 comments
Open
1 task done

[FEA]: Implement <cuda/experimental/file> #3359

davebayer opened this issue Jan 12, 2025 · 2 comments
Labels
feature request New feature or request.

Comments

@davebayer
Copy link
Contributor

davebayer commented Jan 12, 2025

Is this a duplicate?

Area

CUDA Experimental (cudax)

Is your feature request related to a problem? Please describe.

I've been wondering whether it would be a good idea to add a wrapper of cuFile to cudax.

Describe the solution you'd like

Implement <cuda/experimental/file> module with:

  • cudax::file class wrapping operations with CUfileHandle_t
  • cudax::file_driver object implementing cuFileDriver*() operations
  • cudax::file_buffer_registerer RAII wrapper class for registering buffers in cuFile driver
  • cudax::file_stream_registerer RAII wrapper class for registering stream in cuFile driver
  • some more classes for batched IO

I've tried to implement it in #3360 without the batched IO. It is just a not tested proposal, may contain errors.

What do you guys think?

Describe alternatives you've considered

No response

Additional context

No response

@leofang
Copy link
Member

leofang commented Jan 13, 2025

I think there's already prior art and it's maintained by the RAPIDS (& cuFILE) teams: https://github.com/rapidsai/kvikio. There's already a nice C++ abstraction over cuFILE (and beyond): https://github.com/rapidsai/kvikio/tree/branch-25.02/cpp/include/kvikio. I'd suggest to take inputs from the RAPIDS-kvikio team.

cc @madsbk @jakirkham for vis

@jakirkham
Copy link

cc @akshaysubr (for awareness)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature or request.
Projects
Status: Todo
Development

No branches or pull requests

3 participants