6 Replies Latest reply on Dec 23, 2009 7:57 PM by bpurnomo

    Virtual Function / Interface in OpenCL via IL?

    gideonlee

      I noticed that the new IL spec says that Virtual Function / Interface support is available on Evergreen and future GPUs.  Is there currently any backdoor/proprietary way to mix a little bit of IL into OpenCL kernel code so that kernels written in OpenCL can take advantage of that?

      I'm sure there are many potential uses of mixing IL blocks into OpenCL. But interface is particularly useful because of the huge performance advantage over big switch-case blocks.  This is especially true if the code is ported from say an existing C++ or Java program.