cuda-api-wrappers v0.3.3 Release Notes

Release Date: 2020-07-20 // over 1 year ago
  • ๐Ÿš€ This release includes both significant additions to the coverage by the wrappers, as well as major changes to the existing wrappers API.

    Main changes since 0.2.0:

    • Forget about numeric handles! The wrapper classes no longer take numeric handles as parameters, in methods exposed to the user. You'll be dealing with device_t's, event_t's, stream_t's etc. - not device::id_t, device::stream_t and device::event_t's.
    • Wrappers classes no longer templated. That means, on one hand, you don't have to worry about the template argument of "do we assume the wrapper's device is the current one?" ; but on the other hand, every use of the wrapper will set the current device (even if it's already the right one). A lot of code was simplified or even remoed thanks to this change.
    • device_function_t is now named kernel_t , as only kernels are acceptable by the CUDA Runtime API calls mentioning "device functions". Also, kernel_t's are now a pair of (kernel, device), as the settings which can be made for a kernel are mostly/entirely device-specific.
    • ๐Ÿšš The examples CMakeLists.txt has been split off from the main CMakeFiles.txt and moved into a subdirectory, removing any dependencies it may have.
    • Kernel launching now uses perfect forwarding of all parameters.
    • ๐Ÿ‘ป The library is now almost completely header-only. The single exception to this rule is profiling-related code. If you don't use it - the library is header-only for you.
    • ๐Ÿ”„ Changed my email address in the code...

    Main additions since 0.2.0:

    • ๐Ÿ‘ 2D and 3D Array support.
    • ๐Ÿ‘ 2D and 3D texture support.
    • A single set() and get() for all memory spaces.

    ๐Ÿ›  Plus a few bug fixes, and another example program from the CUDA samples.

    ๐Ÿ”„ Changes from 0.3.0:

    • ๐Ÿ›  Fixed: Self-recursion in one of the memory allocation functions.
    • ๐Ÿ›  Fixed: Added missing inline specifiers to some functions
    • White space tweaks