1 Reply Latest reply on Oct 14, 2015 10:49 PM by nibal

    __constant problem when compiling ocl kernel in latest catalyst 15.9


      Thu Oct 15 05:55:24 2015 [00] [!] clutils.c:501:createCLProgram Failed to compile program from "fft.cl" (CL_BUILD_PROGRAM_FAILURE)

      Error compiling program for fft.


      Frontend phase failed compilation.
      Error: Creating kernel fft failed!


      Problem created when changing kernel args from __global to __constant. They were declared as MEM_READ_ONLY in CreateBuffer.

      Compiled as C program with cflags "-g -I." in Linux.

      2 issues

      1) No displayed error

      2) Doesn't support __constant kernel args


      Kernel sources attached