is it possible to use cuArray in a kernel?

There is a API function cuParamSetArray(). Does this means that array may be accessed inside kernel? Are there some sample code demonstrating the usage of this API function? Thanks.

This is a function of the driver API used on the host side. You cannot call it from a kernel. The most common access method to arrays in a kernel is to bind them to a texture and use the (cached) texfetch() calls.

Peter