1 2 3 4 5 6 7 8 9 10 11 12
#pragma once #include "file1.h" struct result_type_dynamic { int input; int sum; bool from_static; }; result_type_dynamic __device__ file2_func(int x);