CudaLightKernels

Collection of CUDA wrappers for a simplified kernel call


Project maintained by pmontalb Hosted on GitHub Pages — Theme by mattgraham

CudaLightKernels

This API is a collection of common CUDA kernels calls that I use in my programs. This is by no means a fully-fledged library. It simplifies the code and it reduces the overhead in calling native CUDA code.

This library should be changed not too often, so that once the binary is compiled, it can be paired with a manager for being used in different programming languages.

Types

Buffer classes

Sparse buffer classes

Kernels structure

Since there’s no name mangling, I decided to use the convention of having every function starting with a leading underscore. This way you can have a helper manager that defines the same function with no underscores that just wraps the kernel call and checks the return value.