You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
a kernel which accepts a reference to an application struct seems to cause illegal memory access #29
Closing as fixed on main. Both reported failure modes are now compile-time errors instead of runtime error 700:
under #[cuda_module], a grid: &JuliaGrid param is rejected with an actionable diagnostic (slice references, DisjointSlice, raw pointers, or by-value KernelScalar are the supported shapes), and argument-count mismatches on the typed path are ordinary errors
the typed-wrapper approach you suggested is what #[cuda_module] generates; for this kernel the migration is grid: JuliaGrid by value (Copy struct, lowered to a byval kernel param) or a device pointer
Transparent &T struct params on the typed path (marshal by value, reconstruct the reference device-side, mirroring slice scalarization) could be a separate feature request.
Activity
feat(cuda-macros): make cuda_launch\! a caller-unsafe API
nihalpasham commentedon Jun 12, 2026
Closing as fixed on main. Both reported failure modes are now compile-time errors instead of runtime error 700:
#[cuda_module], a grid: &JuliaGrid param is rejected with an actionable diagnostic (slice references, DisjointSlice, raw pointers, or by-value KernelScalar are the supported shapes), and argument-count mismatches on the typed path are ordinary errors#[cuda_module]generates; for this kernel the migration is grid: JuliaGrid by value (Copy struct, lowered to abyvalkernel param) or a device pointercuda_launch!niche caller-unsafe, so the originally reported code no longer compiles silentlyTransparent
&Tstruct params on the typed path (marshal by value, reconstruct the reference device-side, mirroring slice scalarization) could be a separate feature request.Split GPU and CPU test targets with dedicated runner scripts (NVIDIA#29)
refactor: path-depend Oxide and examples on git-root host crates (NVI…
refactor: path-depend Oxide and examples on git-root host crates (NVI…
refactor: path-depend Oxide and examples on git-root host crates (NVI…
fix(cargo-oxide): take the scaffold's host crates from cuda-host's gi…