Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Examples do not compile when release is disabled for gpu crate(s)

Aperta
#320 3 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
35/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
rust
Ambito
compilers

Direzione di ricerca

Riproduci il fallimento aggiungendo .release(false) alla chiamata a CudaBuilder::new in examples/cuda/vecadd/build.rs usando il container ubuntu24-cuda12. Inizia da crates/rustc_codegen_nvvm/src/ty.rs:235 e segui la chiamata a float_width mostrata nello stack trace. Il lavoro è completato quando gli esempi vengono compilati correttamente con release disabilitato.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

bug

I'm really glad the Rust CUDA project is being rebooted. Thanks for all the work going into it!

Not sure if this is known behaviour, but just in case here are the details.

Steps to reproduce:

  1. Clone rust-cuda main
  2. Add .release(false) to the CudaBuilder::new call in build.rs for one of the examples (I haven't tested path_tracer), e.g:
CudaBuilder::new(manifest_dir.join("kernels"))
        .release(false)
        .copy_to(out_path.join("kernels.ptx"))
        .build()
        .unwrap();
  1. Observe the internal compiler error: crates/rustc_codegen_nvvm/src/ty.rs:235:18: llvm_float_width called on a non-float type.

This was using the ubuntu24-cuda12 container.

Full stacktrace (for vecadd)
   Compiling vecadd v0.1.0 (/data/rust-cuda/examples/cuda/vecadd)
error: failed to run custom build command for `vecadd v0.1.0 (/data/rust-cuda/examples/cuda/vecadd)`

Caused by:
  process didn't exit successfully: `/data/rust-cuda/target/debug/build/vecadd-5a520a106a1820e5/build-script-build` (exit status: 101)
  --- stdout
  cargo::rerun-if-changed=build.rs
  cargo::rerun-if-changed=kernels
  cargo:rerun-if-changed=/data/rust-cuda/examples/cuda/vecadd/kernels

  --- stderr
     Compiling compiler_builtins v0.1.160 (/data/home/jack/.rustup/toolchains/nightly-2025-08-04-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/compiler-builtins/compiler-builtins)
     Compiling alloc v0.0.0 (/data/home/jack/.rustup/toolchains/nightly-2025-08-04-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/alloc)
  error: internal compiler error: crates/rustc_codegen_nvvm/src/ty.rs:235:18: llvm_float_width called on a non-float type


  thread 'rustc' panicked at crates/rustc_codegen_nvvm/src/ty.rs:235:18:
  Box<dyn Any>
  stack backtrace:
     0:     0x761a1980a223 - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::he94d81f4cc76bf03
     1:     0x761a1a002d77 - core::fmt::write::h255510a3ffb8d55d
     2:     0x761a197ffe03 - std::io::Write::write_fmt::hf8ded1300f0b71a8
     3:     0x761a1980a082 - std::sys::backtrace::BacktraceLock::print::h3bdc2b992c7e0515
     4:     0x761a1980db27 - std::panicking::default_hook::{{closure}}::h876682ce5f8046c9
     5:     0x761a1980d68b - std::panicking::default_hook::h708aafadea70e31d
     6:     0x761a1887eac3 - std[a2e6032cce42d97f]::panicking::update_hook::<alloc[ff7d08515ebedc7]::boxed::Box<rustc_driver_impl[de6ab808e8043f3f]::install_ice_hook::{closure#1}>>::{closure#0}
     7:     0x761a1887eac3 - std[a2e6032cce42d97f]::panicking::update_hook::<alloc[ff7d08515ebedc7]::boxed::Box<rustc_driver_impl[de6ab808e8043f3f]::install_ice_hook::{closure#1}>>::{closure#0}
     8:     0x761a1980e36e - std::panicking::rust_panic_with_hook::hbc7edc3b462870f0
     9:     0x761a188b7f91 - std[a2e6032cce42d97f]::panicking::begin_panic::<rustc_errors[3211728c3614e99e]::ExplicitBug>::{closure#0}
    10:     0x761a188acf26 - std[a2e6032cce42d97f]::sys::backtrace::__rust_end_short_backtrace::<std[a2e6032cce42d97f]::panicking::begin_panic<rustc_errors[3211728c3614e99e]::ExplicitBug>::{closure#0}, !>
    11:     0x761a188acdb7 - std[a2e6032cce42d97f]::panicking::begin_panic::<rustc_errors[3211728c3614e99e]::ExplicitBug>
    12:     0x761a188c1c31 - <rustc_errors[3211728c3614e99e]::diagnostic::BugAbort as rustc_errors[3211728c3614e99e]::diagnostic::EmissionGuarantee>::emit_producing_guarantee
    13:     0x761a18ed077a - rustc_middle[e3248139c571040]::util::bug::opt_span_bug_fmt::<rustc_span[91be5049b842f401]::span_encoding::Span>::{closure#0}
    14:     0x761a18eafefa - rustc_middle[e3248139c571040]::ty::context::tls::with_opt::<rustc_middle[e3248139c571040]::util::bug::opt_span_bug_fmt<rustc_span[91be5049b842f401]::span_encoding::Span>::{closure#0}, !>::{closure#0}
    15:     0x761a18eafd6b - rustc_middle[e3248139c571040]::ty::context::tls::with_context_opt::<rustc_middle[e3248139c571040]::ty::context::tls::with_opt<rustc_middle[e3248139c571040]::util::bug::opt_span_bug_fmt<rustc_span[91be5049b842f401]::span_encoding::Span>::{closure#0}, !>::{closure#0}, !>
    16:     0x761a15ed4390 - rustc_middle[e3248139c571040]::util::bug::bug_fmt
    17:     0x761a06a86985 - rustc_codegen_nvvm::ty::<impl rustc_codegen_ssa::traits::type_::BaseTypeCodegenMethods for rustc_codegen_nvvm::context::CodegenCx>::float_width::h0c0d37281460137c
                                 at /data/rust-cuda/crates/rustc_codegen_nvvm/src/ty.rs:235:18
    18:     0x761a06ad1ead - rustc_codegen_ssa::mir::rvalue::<impl rustc_codegen_ssa::mir::FunctionCx<Bx>>::cast_immediate::h9fd7d965762f3fb3
                                 at /data/home/jack/.rustup/toolchains/nightly-2025-08-04-x86_64-unknown-linux-gnu/lib/rustlib/rustc-src/rust/compiler/rustc_codegen_ssa/src/mir/rvalue.rs:346:37
    19:     0x761a06ad1ead - rustc_codegen_ssa::mir::rvalue::<impl rustc_codegen_ssa::mir::FunctionCx<Bx>>::codegen_rvalue_operand::hafc0385b32d49295
                                 at /data/home/jack/.rustup/toolchains/nightly-2025-08-04-x86_64-unknown-linux-gnu/lib/rustlib/rustc-src/rust/compiler/rustc_codegen_ssa/src/mir/rvalue.rs:477:30
    20:     0x761a06ac5ef3 - rustc_codegen_ssa::mir::statement::<impl rustc_codegen_ssa::mir::FunctionCx<Bx>>::codegen_statement::h240794e56b92e54a
                                 at /data/home/jack/.rustup/toolchains/nightly-2025-08-04-x86_64-unknown-linux-gnu/lib/rustlib/rustc-src/rust/compiler/rustc_codegen_ssa/src/mir/statement.rs:26:48
    21:     0x761a06ac5ef3 - rustc_codegen_ssa::mir::block::<impl rustc_codegen_ssa::mir::FunctionCx<Bx>>::codegen_block::hebfe1c4f57e74a10
                                 at /data/home/jack/.rustup/toolchains/nightly-2025-08-04-x86_64-unknown-linux-gnu/lib/rustlib/rustc-src/rust/compiler/rustc_codegen_ssa/src/mir/block.rs:1296:22
    22:     0x761a06ac5ef3 - rustc_codegen_ssa::mir::codegen_mir::h9a8a9963ff243163
                                 at /data/home/jack/.rustup/toolchains/nightly-2025-08-04-x86_64-unknown-linux-gnu/lib/rustlib/rustc-src/rust/compiler/rustc_codegen_ssa/src/mir/mod.rs:310:12
    23:     0x761a06aea761 - rustc_codegen_ssa::base::codegen_instance::h70bf3d2492602377
                                 at /data/home/jack/.rustup/toolchains/nightly-2025-08-04-x86_64-unknown-linux-gnu/lib/rustlib/rustc-src/rust/compiler/rustc_codegen_ssa/src/base.rs:394:5
    24:     0x761a06b501f3 - <rustc_middle::mir::mono::MonoItem as rustc_codegen_ssa::mono_item::MonoItemExt>::define::h4229a55c70291909
                                 at /data/home/jack/.rustup/toolchains/nightly-2025-08-04-x86_64-unknown-linux-gnu/lib/rustlib/rustc-src/rust/compiler/rustc_codegen_ssa/src/mono_item.rs:48:21
    25:     0x761a06aeeff6 - rustc_codegen_nvvm::override_fns::define_or_override_fn::hf385a89b0e101426
                                 at /data/rust-cuda/crates/rustc_codegen_nvvm/src/override_fns.rs:21:9
    26:     0x761a06aa016b - rustc_codegen_nvvm::back::compile_codegen_unit::module_codegen::h365fdc4668827c74
                                 at /data/rust-cuda/crates/rustc_codegen_nvvm/src/back.rs:284:21
    27:     0x761a06a9fa5f - rustc_query_system::dep_graph::graph::DepGraph<D>::with_task::h9945cec0f4b6f835
                                 at /data/home/jack/.rustup/toolchains/nightly-2025-08-04-x86_64-unknown-linux-gnu/lib/rustlib/rustc-src/rust/compiler/rustc_query_system/src/dep_graph/graph.rs:274:22
    28:     0x761a06a9fa5f - rustc_codegen_nvvm::back::compile_codegen_unit::h349f823ed98cb3f5
                                 at /data/rust-cuda/crates/rustc_codegen_nvvm/src/back.rs:246:37
    29:     0x761a06ae9b0f - <rustc_codegen_nvvm::NvvmCodegenBackend as rustc_codegen_ssa::traits::backend::ExtraBackendMethods>::compile_codegen_unit::h7f731bf3bf3a32dc
                                 at /data/rust-cuda/crates/rustc_codegen_nvvm/src/lib.rs:369:9
    30:     0x761a06ae9b0f - rustc_codegen_ssa::base::codegen_crate::h54b0d623ab457a0b
                                 at /data/home/jack/.rustup/toolchains/nightly-2025-08-04-x86_64-unknown-linux-gnu/lib/rustlib/rustc-src/rust/compiler/rustc_codegen_ssa/src/base.rs:793:42
    31:     0x761a06a5d864 - <rustc_codegen_nvvm::NvvmCodegenBackend as rustc_codegen_ssa::traits::backend::CodegenBackend>::codegen_crate::hacdd765ec593844b
                                 at /data/rust-cuda/crates/rustc_codegen_nvvm/src/lib.rs:169:18
    32:     0x761a1b36974a - <rustc_interface[373d4675362b8f62]::queries::Linker>::codegen_and_build_linker
    33:     0x761a1b3672fc - rustc_interface[373d4675362b8f62]::passes::create_and_enter_global_ctxt::<core[606ee596359a9bc5]::option::Option<rustc_interface[373d4675362b8f62]::queries::Linker>, rustc_driver_impl[de6ab808e8043f3f]::run_compiler::{closure#0}::{closure#2}>::{closure#2}::{closure#0}
    34:     0x761a1b356e71 - rustc_interface[373d4675362b8f62]::interface::run_compiler::<(), rustc_driver_impl[de6ab808e8043f3f]::run_compiler::{closure#0}>::{closure#1}
    35:     0x761a1b1b3241 - std[a2e6032cce42d97f]::sys::backtrace::__rust_begin_short_backtrace::<rustc_interface[373d4675362b8f62]::util::run_in_thread_with_globals<rustc_interface[373d4675362b8f62]::util::run_in_thread_pool_with_globals<rustc_interface[373d4675362b8f62]::interface::run_compiler<(), rustc_driver_impl[de6ab808e8043f3f]::run_compiler::{closure#0}>::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()>
    36:     0x761a1b1b2f22 - <<std[a2e6032cce42d97f]::thread::Builder>::spawn_unchecked_<rustc_interface[373d4675362b8f62]::util::run_in_thread_with_globals<rustc_interface[373d4675362b8f62]::util::run_in_thread_pool_with_globals<rustc_interface[373d4675362b8f62]::interface::run_compiler<(), rustc_driver_impl[de6ab808e8043f3f]::run_compiler::{closure#0}>::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()>::{closure#1} as core[606ee596359a9bc5]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
    37:     0x761a1b1b9085 - std::sys::pal::unix::thread::Thread::new::thread_start::hf6a510012528f331
    38:     0x761a1489caa4 - <unknown>
    39:     0x761a14929c6c - <unknown>
    40:                0x0 - <unknown>

  note: using internal features is not supported and expected to cause internal compiler errors when used incorrectly

  note: please attach the file at `/data/home/jack/.rustup/toolchains/nightly-2025-08-04-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/compiler-builtins/compiler-builtins/rustc-ice-2025-11-25T03_06_45-355303.txt` to your bug report

  note: compiler flags: --crate-type lib -C embed-bitcode=no -C debuginfo=2 -Z force-unstable-if-unmarked -Z codegen-backend=/data/rust-cuda/target/cuda-builder-codegen/debug/librustc_codegen_nvvm.so -Z crate-attr=feature(register_tool) -Z crate-attr=register_tool(nvvm_internal) -Z crate-attr=no_std -Z saturating_float_casts=false -C llvm-args=-arch=compute_61 -opt=0 --override-libm

  note: some of the compiler flags provided by cargo are hidden

  query stack during panic:
  end of query stack

  note: using internal features is not supported and expected to cause internal compiler errors when used incorrectly

  note: please attach the file at `/data/home/jack/.rustup/toolchains/nightly-2025-08-04-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/compiler-builtins/compiler-builtins/rustc-ice-2025-11-25T03_06_45-355303.txt` to your bug report

  note: compiler flags: --crate-type lib -C embed-bitcode=no -C debuginfo=2 -Z force-unstable-if-unmarked -Z codegen-backend=/data/rust-cuda/target/cuda-builder-codegen/debug/librustc_codegen_nvvm.so -Z crate-attr=feature(register_tool) -Z crate-attr=register_tool(nvvm_internal) -Z crate-attr=no_std -Z saturating_float_casts=false -C llvm-args=-arch=compute_61 -opt=0 --override-libm

  note: some of the compiler flags provided by cargo are hidden

  query stack during panic:
  end of query stack
  note: `rust-cuda` version `0.3.0`

  error: could not compile `compiler_builtins` (lib)

  Caused by:
    process didn't exit successfully: `/data/home/jack/.rustup/toolchains/nightly-2025-08-04-x86_64-unknown-linux-gnu/bin/rustc --crate-name compiler_builtins --edition=2024 /data/home/jack/.rustup/toolchains/nightly-2025-08-04-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/compiler-builtins/compiler-builtins/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 --cfg 'feature="compiler-builtins"' --cfg 'feature="default"' --cfg 'feature="rustc-dep-of-std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("c", "compiler-builtins", "default", "mangled-names", "mem", "no-asm", "no-f16-f128", "rustc-dep-of-std", "unstable-public-internals"))' -C metadata=c0eec6770bed2cdd -C extra-filename=-93f228d01059747f --out-dir /data/rust-cuda/target/cuda-builder/nvptx64-nvidia-cuda/debug/deps --target nvptx64-nvidia-cuda -Z force-unstable-if-unmarked -L dependency=/data/rust-cuda/target/cuda-builder/nvptx64-nvidia-cuda/debug/deps -L dependency=/data/rust-cuda/target/cuda-builder/debug/deps --extern core=/data/rust-cuda/target/cuda-builder/nvptx64-nvidia-cuda/debug/deps/libcore-8fc108977a8b179a.rmeta --cap-lints allow -Zcodegen-backend=/data/rust-cuda/target/cuda-builder-codegen/debug/librustc_codegen_nvvm.so '-Zcrate-attr=feature(register_tool)' '-Zcrate-attr=register_tool(nvvm_internal)' -Zcrate-attr=no_std -Zsaturating_float_casts=false '-Cllvm-args=-arch=compute_61 -opt=0 --override-libm' --cfg f16_enabled --cfg intrinsics_enabled --cfg arch_enabled --cfg 'feature="unstable-intrinsics"' --cfg 'feature="mem"' --check-cfg 'cfg(__ashldi3, values("optimized-c"))' --check-cfg 'cfg(__ashlsi3, values("optimized-c"))' --check-cfg 'cfg(__ashrdi3, values("optimized-c"))' --check-cfg 'cfg(__ashrsi3, values("optimized-c"))' --check-cfg 'cfg(__bswapsi2, values("optimized-c"))' --check-cfg 'cfg(__bswapdi2, values("optimized-c"))' --check-cfg 'cfg(__bswapti2, values("optimized-c"))' --check-cfg 'cfg(__divdi3, values("optimized-c"))' --check-cfg 'cfg(__divsi3, values("optimized-c"))' --check-cfg 'cfg(__divmoddi4, values("optimized-c"))' --check-cfg 'cfg(__divmodsi4, values("optimized-c"))' --check-cfg 'cfg(__divmodsi4, values("optimized-c"))' --check-cfg 'cfg(__divmodti4, values("optimized-c"))' --check-cfg 'cfg(__lshrdi3, values("optimized-c"))' --check-cfg 'cfg(__lshrsi3, values("optimized-c"))' --check-cfg 'cfg(__moddi3, values("optimized-c"))' --check-cfg 'cfg(__modsi3, values("optimized-c"))' --check-cfg 'cfg(__muldi3, values("optimized-c"))' --check-cfg 'cfg(__udivdi3, values("optimized-c"))' --check-cfg 'cfg(__udivmoddi4, values("optimized-c"))' --check-cfg 'cfg(__udivmodsi4, values("optimized-c"))' --check-cfg 'cfg(__udivsi3, values("optimized-c"))' --check-cfg 'cfg(__umoddi3, values("optimized-c"))' --check-cfg 'cfg(__umodsi3, values("optimized-c"))' --check-cfg 'cfg(__aarch64_cas1_relax, values("optimized-c"))' --check-cfg 'cfg(__aarch64_cas1_acq, values("optimized-c"))' --check-cfg 'cfg(__aarch64_cas1_rel, values("optimized-c"))' --check-cfg 'cfg(__aarch64_cas1_acq_rel, values("optimized-c"))' --check-cfg 'cfg(__aarch64_cas2_relax, values("optimized-c"))' --check-cfg 'cfg(__aarch64_cas2_acq, values("optimized-c"))' --check-cfg 'cfg(__aarch64_cas2_rel, values("optimized-c"))' --check-cfg 'cfg(__aarch64_cas2_acq_rel, values("optimized-c"))' --check-cfg 'cfg(__aarch64_cas4_relax, values("optimized-c"))' --check-cfg 'cfg(__aarch64_cas4_acq, values("optimized-c"))' --check-cfg 'cfg(__aarch64_cas4_rel, values("optimized-c"))' --check-cfg 'cfg(__aarch64_cas4_acq_rel, values("optimized-c"))' --check-cfg 'cfg(__aarch64_cas8_relax, values("optimized-c"))' --check-cfg 'cfg(__aarch64_cas8_acq, values("optimized-c"))' --check-cfg 'cfg(__aarch64_cas8_rel, values("optimized-c"))' --check-cfg 'cfg(__aarch64_cas8_acq_rel, values("optimized-c"))' --check-cfg 'cfg(__aarch64_cas16_relax, values("optimized-c"))' --check-cfg 'cfg(__aarch64_cas16_acq, values("optimized-c"))' --check-cfg 'cfg(__aarch64_cas16_rel, values("optimized-c"))' --check-cfg 'cfg(__aarch64_cas16_acq_rel, values("optimized-c"))' --check-cfg 'cfg(__aarch64_ldadd1_relax, values("optimized-c"))' --check-cfg 'cfg(__aarch64_ldadd1_acq, values("optimized-c"))' --check-cfg 'cfg(__aarch64_ldadd1_rel, values("optimized-c"))' --check-cfg 'cfg(__aarch64_ldadd1_acq_rel, values("optimized-c"))' --check-cfg 'cfg(__aarch64_ldadd2_relax, values("optimized-c"))' --check-cfg 'cfg(__aarch64_ldadd2_acq, values("optimized-c"))' --check-cfg 'cfg(__aarch64_ldadd2_rel, values("optimized-c"))' --check-cfg 'cfg(__aarch64_ldadd2_acq_rel, values("optimized-c"))' --check-cfg 'cfg(__aarch64_ldadd4_relax, values("optimized-c"))' --check-cfg 'cfg(__aarch64_ldadd4_acq, values("optimized-c"))' --check-cfg 'cfg(__aarch64_ldadd4_rel, values("optimized-c"))' --check-cfg 'cfg(__aarch64_ldadd4_acq_rel, values("optimized-c"))' --check-cfg 'cfg(__aarch64_ldadd8_relax, values("optimized-c"))' --check-cfg 'cfg(__aarch64_ldadd8_acq, values("optimized-c"))' --check-cfg 'cfg(__aarch64_ldadd8_rel, values("optimized-c"))' --check-cfg 'cfg(__aarch64_ldadd8_acq_rel, values("optimized-c"))' --check-cfg 'cfg(__aarch64_ldclr1_relax, values("optimized-c"))' --check-cfg 'cfg(__aarch64_ldclr1_acq, values("optimized-c"))' --check-cfg 'cfg(__aarch64_ldclr1_rel, values("optimized-c"))' --check-cfg 'cfg(__aarch64_ldclr1_acq_rel, values("optimized-c"))' --check-cfg 'cfg(__aarch64_ldclr2_relax, values("optimized-c"))' --check-cfg 'cfg(__aarch64_ldclr2_acq, values("optimized-c"))' --check-cfg 'cfg(__aarch64_ldclr2_rel, values("optimized-c"))' --check-cfg 'cfg(__aarch64_ldclr2_acq_rel, values("optimized-c"))' --check-cfg 'cfg(__aarch64_ldclr4_relax, values("optimized-c"))' --check-cfg 'cfg(__aarch64_ldclr4_acq, values("optimized-c"))' --check-cfg 'cfg(__aarch64_ldclr4_rel, values("optimized-c"))' --check-cfg 'cfg(__aarch64_ldclr4_acq_rel, values("optimized-c"))' --check-cfg 'cfg(__aarch64_ldclr8_relax, values("optimized-c"))' --check-cfg 'cfg(__aarch64_ldclr8_acq, values("optimized-c"))' --check-cfg 'cfg(__aarch64_ldclr8_rel, values("optimized-c"))' --check-cfg 'cfg(__aarch64_ldclr8_acq_rel, values("optimized-c"))' --check-cfg 'cfg(__aarch64_ldeor1_relax, values("optimized-c"))' --check-cfg 'cfg(__aarch64_ldeor1_acq, values("optimized-c"))' --check-cfg 'cfg(__aarch64_ldeor1_rel, values("optimized-c"))' --check-cfg 'cfg(__aarch64_ldeor1_acq_rel, values("optimized-c"))' --check-cfg 'cfg(__aarch64_ldeor2_relax, values("optimized-c"))' --check-cfg 'cfg(__aarch64_ldeor2_acq, values("optimized-c"))' --check-cfg 'cfg(__aarch64_ldeor2_rel, values("optimized-c"))' --check-cfg 'cfg(__aarch64_ldeor2_acq_rel, values("optimized-c"))' --check-cfg 'cfg(__aarch64_ldeor4_relax, values("optimized-c"))' --check-cfg 'cfg(__aarch64_ldeor4_acq, values("optimized-c"))' --check-cfg 'cfg(__aarch64_ldeor4_rel, values("optimized-c"))' --check-cfg 'cfg(__aarch64_ldeor4_acq_rel, values("optimized-c"))' --check-cfg 'cfg(__aarch64_ldeor8_relax, values("optimized-c"))' --check-cfg 'cfg(__aarch64_ldeor8_acq, values("optimized-c"))' --check-cfg 'cfg(__aarch64_ldeor8_rel, values("optimized-c"))' --check-cfg 'cfg(__aarch64_ldeor8_acq_rel, values("optimized-c"))' --check-cfg 'cfg(__aarch64_ldset1_relax, values("optimized-c"))' --check-cfg 'cfg(__aarch64_ldset1_acq, values("optimized-c"))' --check-cfg 'cfg(__aarch64_ldset1_rel, values("optimized-c"))' --check-cfg 'cfg(__aarch64_ldset1_acq_rel, values("optimized-c"))' --check-cfg 'cfg(__aarch64_ldset2_relax, values("optimized-c"))' --check-cfg 'cfg(__aarch64_ldset2_acq, values("optimized-c"))' --check-cfg 'cfg(__aarch64_ldset2_rel, values("optimized-c"))' --check-cfg 'cfg(__aarch64_ldset2_acq_rel, values("optimized-c"))' --check-cfg 'cfg(__aarch64_ldset4_relax, values("optimized-c"))' --check-cfg 'cfg(__aarch64_ldset4_acq, values("optimized-c"))' --check-cfg 'cfg(__aarch64_ldset4_rel, values("optimized-c"))' --check-cfg 'cfg(__aarch64_ldset4_acq_rel, values("optimized-c"))' --check-cfg 'cfg(__aarch64_ldset8_relax, values("optimized-c"))' --check-cfg 'cfg(__aarch64_ldset8_acq, values("optimized-c"))' --check-cfg 'cfg(__aarch64_ldset8_rel, values("optimized-c"))' --check-cfg 'cfg(__aarch64_ldset8_acq_rel, values("optimized-c"))' --check-cfg 'cfg(__aarch64_swp1_relax, values("optimized-c"))' --check-cfg 'cfg(__aarch64_swp1_acq, values("optimized-c"))' --check-cfg 'cfg(__aarch64_swp1_rel, values("optimized-c"))' --check-cfg 'cfg(__aarch64_swp1_acq_rel, values("optimized-c"))' --check-cfg 'cfg(__aarch64_swp2_relax, values("optimized-c"))' --check-cfg 'cfg(__aarch64_swp2_acq, values("optimized-c"))' --check-cfg 'cfg(__aarch64_swp2_rel, values("optimized-c"))' --check-cfg 'cfg(__aarch64_swp2_acq_rel, values("optimized-c"))' --check-cfg 'cfg(__aarch64_swp4_relax, values("optimized-c"))' --check-cfg 'cfg(__aarch64_swp4_acq, values("optimized-c"))' --check-cfg 'cfg(__aarch64_swp4_rel, values("optimized-c"))' --check-cfg 'cfg(__aarch64_swp4_acq_rel, values("optimized-c"))' --check-cfg 'cfg(__aarch64_swp8_relax, values("optimized-c"))' --check-cfg 'cfg(__aarch64_swp8_acq, values("optimized-c"))' --check-cfg 'cfg(__aarch64_swp8_rel, values("optimized-c"))' --check-cfg 'cfg(__aarch64_swp8_acq_rel, values("optimized-c"))' --check-cfg 'cfg(target_feature, values("vis3"))' --check-cfg 'cfg(feature, values("checked"))' --check-cfg 'cfg(assert_no_panic)' --check-cfg 'cfg(thumb)' --check-cfg 'cfg(thumb_1)' --check-cfg 'cfg(f16_enabled)' --check-cfg 'cfg(f128_enabled)' --check-cfg 'cfg(intrinsics_enabled)' --check-cfg 'cfg(arch_enabled)' --check-cfg 'cfg(optimizations_enabled)' --check-cfg 'cfg(feature, values("unstable-public-internals"))' --check-cfg 'cfg(optimizations_enabled)' --check-cfg 'cfg(x86_no_sse)' --check-cfg 'cfg(kernel_user_helpers)' --check-cfg 'cfg(feature, values("mem-unaligned"))'` (exit status: 101)
  warning: build failed, waiting for other jobs to finish...

  thread 'main' panicked at examples/cuda/vecadd/build.rs:17:10:
  called `Result::unwrap()` on an `Err` value: BuildFailed
  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

Lingua principale
Rust
Stelle
5.4k
Fork
249
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di Rust-GPU/rust-cuda

Tutte le issue di Rust-GPU/rust-cuda

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.