I have defined a new type as struct in a separate file and the file is included for further reference. Then i am sending the use-defined type as kernel arguments , but i am getting the error:

Code :
--- build log ---
:6:42: error: unknown type name 'SimParams'
                              __constant SimParams* params,

Any hint to get around this issue ?