Rust-GPU / Rust-CUDA

Ecosystem of libraries and tools for writing and executing fast GPU code fully in Rust.
Apache License 2.0
3.02k stars 115 forks source link

`Module::from_ptx_cstr` segfaults when program is launched from Nvidia Nsight Compute, but not `Module::load_from_string` #70

Open WilliamVenner opened 2 years ago

WilliamVenner commented 2 years ago

When launching my program from Nvidia Nsight Compute, Module::load_from_string (deprecated) appears to work fine, but Module::from_ptx_cstr with an empty options list segfaults. I also tried Default::default() as the options list with the same outcome.

image