4 Replies Latest reply on Sep 26, 2008 8:33 PM by jean-claude

    Constant Lookup tables in kernel ?


      Hi, sorry to ask a possibly dumb question...

      Anyway let me synthesize through a simple example:

      I need to pass to a kernel a constant argument which is
      a linear look_up table

      float LookupTbl[4096];

      kernel (out float a<>, int b<>, float LookupTbl[]) {
       a = LookupTbl;

      BTW. The size of a and b streams are different from the sizeof the LookupTbl.
      Thanks for hints