Results 1 to 2 of 2

Thread: c++ code into a OpenCL kernel????

  1. #1
    Junior Member
    Join Date
    Aug 2011
    Posts
    1

    c++ code into a OpenCL kernel????

    Hi all,

    I'm just starting in OpenCL coding, so I would like to know if it's possible to execute c++ codes (functions, objects, ...) into OpenCL kernels. I have a set of classes in my code, and I'm trying to make less changes as possible.

    if it's not possible I will code all my classes to c structs!!!

    Thanks in advance!!!

  2. #2
    Senior Member
    Join Date
    Aug 2011
    Posts
    271

    Re: c++ code into a OpenCL kernel????

    The reference manual covers the language extensively. Specifically chapter 6 "The OpenCL C Programming Language"

    It's a dialect of C99.

Similar Threads

  1. Timing OpenCL kernel code
    By smjee in forum OpenCL
    Replies: 1
    Last Post: 07-18-2012, 04:57 PM
  2. OpenCL slow compiling of multiple kernel code
    By chammakchallo in forum OpenCL
    Replies: 3
    Last Post: 02-13-2012, 08:45 AM

Posting Permissions

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