Rust-GPU / Rust-CUDA

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

Fix: make UUID retrieval more portable #90

Open vmx opened 2 years ago

vmx commented 2 years 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 2 years 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.