-
Notifications
You must be signed in to change notification settings - Fork 219
Open
Description
How to println from a kernel? the following code throws an error:
cuda_std::println!("hello world"); error[E0433]: failed to resolve: could not find `alloc` in the list of imported crates
--> src/lib.rs:12:9
|
12 | cuda_std::println!("hello world");
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `alloc` in the list of imported crates
|
= note: this error originates in the macro `$crate::print` which comes from the expansion of the macro `cuda_std::println` (in Nightly builds, run with -Z macro-backtrace for more info)
Metadata
Metadata
Assignees
Labels
No labels