Results 1 to 2 of 2

Thread: Kernel Function calls incoherence

  1. #1
    Junior Member
    Join Date
    Mar 2010

    Kernel Function calls incoherence

    Hi everyone!

    I'm new in OpenCL World, and right now all I've been doing is nothing but research. But I've something incoherence with my knowledge and the OpenCL Specs.

    During my research i learned that a kernel cannot make a call to other functions, but in spec I've found this:

    Kernel: A kernel is a function declared in a program and executed on an OpenCL device. A
    kernel is identified by the __kernel qualifier applied to any function defined in a program
    Can you elucidate me about this?

    Thank you very much!

  2. #2
    Senior Member
    Join Date
    Jul 2009
    Northern Europe

    Re: Kernel Function calls incoherence

    Kernels can call any other functions defined in the code you compiler, but on current GPUs these calls are just inlined.

Similar Threads

  1. Optimizing multiple kernel calls for large arrays
    By chammakchallo in forum OpenCL
    Replies: 1
    Last Post: 09-26-2012, 07:19 PM
  2. Replies: 4
    Last Post: 08-22-2011, 03:51 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
Proudly hosted by Digital Ocean