I am trying to understand how can i return a float in cuda kernel call?
I used following kernel call but i am getting following error!
error: a “global” function must have a void return type
I will appreciate any help and suggestion.
[codebox]global float initR( mystruct, float, float *);[/codebox]