function inside the cuda kernel

Viewed 20310

Is there any ways i can have a function inside cuda kernel. I mean my cuda kernel gets pretty long and hard to debug at one point. Thanks.

1 Answers
Related