#npp #cuda #bindings #stream #ordered #calls

cudarse-npp

High-level bindings to the CUDA NPP libraries

1 unstable release

0.1.0 Oct 12, 2024

#621 in Images

30 downloads per month
Used in 5 crates (4 directly)

MIT license

73KB
2K SLoC

cuda_npp

Not that safe bindings to the CUDA NPP library.

Safety

The API is relatively safe to use, as long as you remember cuda calls are asynchronous. I try to always use stream ordered functions, but you must remember to synchronize the stream before the end of your function (or before things can get dropped).

https://docs.nvidia.com/cuda/npp/image_color_conversion.html#color-gamma-correction

https://docs.nvidia.com/cuda/npp/introduction.html

https://docs.nvidia.com/cuda/cuda-c-programming-guide/index.html#cuda-graphs

Dependencies

~0–2MB
~38K SLoC