Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Support for single-file host with shader compilation

Đang mở
#659 8 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
35/100
Loại issue
Tính năng
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Sôi nổi
Công nghệ
rust
Lĩnh vực
compilers

Hướng nghiên cứu

Start by reading the linked cuda-rust vecadd/src/main.rs example and comparing its single-file approach with the separate shader-crate setup described in this issue. Then explore rust-gpu’s host and shader compilation entry points; done means a host and its shader can be compiled from one file, though the issue does not specify the expected workflow or compatibility requirements.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Hey

I was looking for a way to compile a shader and its host code in a single file.

All examples I’ve seen so far require a separate shader crate.

The cuda-rust project appears to support it https://github.com/NVIDIA/cuda-rust/blob/main/cuda-oxide/crates/rustc-codegen-cuda/examples/vecadd/src/main.rs

Ngôn ngữ chính
Rust
Star
3.4k
Fork
132
Merge trung bình
21 giờ 41 phút
Pull request đã merge (30 ngày)
17

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của Rust-GPU/rust-gpu

Tất cả issue của Rust-GPU/rust-gpu

Issue tương tự

Thêm issue về Rust

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.