jean-claude

Constant Lookup tables in kernel ?

Discussion created by jean-claude on Sep 18, 2008
Latest reply on Sep 26, 2008 by jean-claude

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

Jean-Claude

Outcomes