4 ms·
Whoa, was checking the rust GPU examples out this morning, but didn't end up using it. Needed to find a way to bicubic resize images fast on an embed Nvidia g
by brianhorakh 2y ago
Whoa, was checking the rust GPU examples out this morning, but didn't end up using it.
Needed to find a way to bicubic resize images fast on an embed Nvidia gpu.
Was looking at both llvm ptx & vulkan spir-v as a way to reduce dependency on Nvidia hardware. We ended up using npp with autogen c++ binding.
The rust GPU foundation is a great idea. Lots of interesting possibilities for rust devs.
Rust patterns, because it's advanced type checking (part of memory safety) makes a lot of functional tasks faster for embedded devs. It's also a dream to cross compile and deploy with (cargo(, several times faster and easier than c++.
You need fewer tests and less (often neglected) runtime error handling code because of the contract with the compiler.
I also love how I can write crates for python using pyo3 that data science team can use.