4 Replies Latest reply on Mar 25, 2010 1:19 PM by davibu

    Can Lookup table be defined in .cl in GPU mode

    pavandsp

      Hi

      I am using a lookup table in the kernel and defined in the kernel itself.It seems the kernel is using rightly this table in CPU mode but not in GPU mode...shouldn't we define  a tables like this  in kernel in GPU...or we should send the table as an arg to the kernel.

      I defined the table something like this is .cl file

      const unsigned char lookup_table[256]={.....};

      I am getting weired results in GPU mode when accessing the table.

      Please confirm