kernel parameter list limits

I posted about a month ago about a problem I was having with lack of resources for kernel launch, and after some help found that the kernel list is limited in size, so I reduced the number of parameters being passed and the code worked.

However I now need to pass more parameters and tried one previous suggestion of passing paremeters as members of a single structure, but this has not worked. I still get the not enough resources error message. The structure contains two floats and one int. I can pass two of these in the kernel parameter list, but not all three, hence I tried passing the structure.

Does anyone have any other suggestions?

Can you post the code of the kernel invocation again?