Skip to content

Try switching from rustacuda to cust #23

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

Open
wants to merge 10 commits into
base: main
Choose a base branch
from
Open

Try switching from rustacuda to cust #23

wants to merge 10 commits into from

Conversation

juntyr
Copy link
Owner

@juntyr juntyr commented Sep 26, 2024

rustacuda is no longer maintained, and includes all of rustacuda and most of the custom patches we are using in rust-cuda.

However, the following incompatibilities remain:

@juntyr
Copy link
Owner Author

juntyr commented Jan 27, 2025

It may be interesting to look into https://github.com/coreylowman/cudarc

@codecov-commenter
Copy link

codecov-commenter commented Feb 9, 2025

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

Attention: Patch coverage is 10.41667% with 129 lines in your changes missing coverage. Please review.

Project coverage is 33.32%. Comparing base (2d30c22) to head (43937b0).

Files with missing lines Patch % Lines
src/kernel/param.rs 0.00% 24 Missing ⚠️
src/lend/impls/arced_slice.rs 0.00% 14 Missing ⚠️
src/host/mod.rs 0.00% 11 Missing ⚠️
src/utils/exchange/buffer/host.rs 0.00% 10 Missing ⚠️
src/lend/impls/box.rs 0.00% 9 Missing ⚠️
src/utils/adapter.rs 0.00% 8 Missing ⚠️
src/lend/impls/arc.rs 0.00% 7 Missing ⚠️
src/lend/impls/ref.rs 0.00% 7 Missing ⚠️
src/kernel/mod.rs 0.00% 6 Missing ⚠️
src/utils/exchange/buffer/mod.rs 0.00% 6 Missing ⚠️
... and 10 more

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #23      +/-   ##
==========================================
- Coverage   33.38%   33.32%   -0.07%     
==========================================
  Files          53       53              
  Lines        6653     6650       -3     
==========================================
- Hits         2221     2216       -5     
- Misses       4432     4434       +2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@juntyr juntyr marked this pull request as ready for review February 9, 2025 09:45
@juntyr
Copy link
Owner Author

juntyr commented Feb 9, 2025

While the need for a cust fork doesn't immediately unlock a release, the change the cust still provides access to new functionality, so would be a net benefit

&[ModuleJitOption::OptLevel(OptLevel::O4)],
)?);

// FIXME: cust's Module::get_function takes a str and turns it back into
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This might still be nice to fix upstream

}

unsafe impl DeviceCopy for _ArcInnerHeader {}
#[cfg(feature = "host")]
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why this addition?

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