11 lines
127 B
Plaintext
11 lines
127 B
Plaintext
|
|
||
|
#include "file1.h"
|
||
|
|
||
|
result_type __device__ file1_func(int x)
|
||
|
{
|
||
|
result_type r;
|
||
|
r.input = x;
|
||
|
r.sum = x * x;
|
||
|
return r;
|
||
|
}
|