• senkora@lemmy.zip
    link
    fedilink
    arrow-up
    21
    ·
    edit-2
    18 days ago

    I assume that they mean that OpenCL, which is a traditional GPGPU language, is a very restrictive subset of either C or C++ (both are options) plus some annotations.

    In fact, OpenCL toolchains already use the Clang frontend and the LLVM backend, so the experience of using and compiling them is very close to C++.

    The talk mentions all of this; it says that a benefit of using full C++ on the GPU over using OpenCL is that you don’t have to deal with all the annoying restrictions and annotations.