Rust-GPU / Rust-CUDA

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

Fix: make UUID retrieval more portable #90

Open vmx opened 1 year ago

vmx commented 1 year ago

The CUuuid byte type is std::os::raw::c_char and it depends on the platform, whether it is i8 or u8 in Rust. With just passing in 0 without a type identifier, both cases are handled. This makes the code more portable.

vmx commented 1 year ago

A friendly ping if this PR could perhaps get a review (and ideally a release :) This would enable me to get off a fork and use the upstream version.