I had some troubles to use a structure in the constant memory to pass kernel parameters. I posted my code at nvidia's forum at


but so far nobody has replied me. I did quite a bit search in the meantime, including reading the specification, but unable to find an example for how to use a struct in a kernel.

Can someone take a look at my example and tell me what I should do in this case? I tried replacing all member types with cf_float4/cf_float etc in my host code, but it does not work either on an nvidia card

You comments on this is very much appreciated.