#cuda #npp #bindings #stream #high-level

cudarse-npp

High-level bindings to the CUDA NPP libraries

1 unstable release

0.1.0 Oct 12, 2024

#362 in Images

Download history 111/week @ 2024-10-06 64/week @ 2024-10-13

175 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–1.9MB
~37K SLoC