foo.cu 63 B

1234
  1. extern __device__ int foo_func(int a)
  2. {
  3. return a * 42 + 9;
  4. }