Skip to content

Book hello-gpu async template imports disagree with cargo oxide new --async #548

Closed

Description

@Ayush7614

Summary

After scaffold polish, cargo oxide new --async emits use cuda_host::cuda_module; plus cuda_device::{kernel, ...}. The book chapter getting-started/hello-gpu.md still shows use cuda_device::{cuda_module, kernel, ...} for the async template, which does not match the generator and can fail to resolve cuda_module.

Proposed scope

  1. Update the book async listing to match scaffold_main_rs(true).
  2. Prefer a unit test asserting the async scaffold contains use cuda_host::cuda_module;.

Acceptance criteria

  • Book async example matches scaffold imports
  • Scaffold test locks the import path
  • No GPU required

Activity

  1. added a commit that references this issue on Jul 29, 2026
    cf32101
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions