Results 1 to 2 of 2

Thread: Open CL C library

  1. #1
    Junior Member
    Join Date
    Oct 2013
    Posts
    22

    Open CL C library

    Hello,

    I'm trying to use AMD's Open CL library.
    Is it possible to write the code in C without C++ templates ?
    I'm looking for a pure C library.

    Thanks,
    Zvika

  2. #2
    Senior Member
    Join Date
    Dec 2011
    Posts
    160
    Of course. OpenCL is only specified with a C APU; the C++ wrapper is an optional component. To use the C APU, just include "cl.h" and use those APIs. Don't include "cl.hpp" to avoid using the C++ wrapper. Most OpenCL examples use the C API.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •