update isl to version 0.12
[ppcg.git] / cuda_common.h
blob99f9bceedd990a348fb2c5e36eedf4e68ef798d9
1 #ifndef _CUDA_COMMON_H_
2 #define _CUDA_COMMON_H_
4 #include <stdio.h>
6 /* start and end are file offsets of the program text that corresponds
7 * to the scop being transformed.
8 */
9 struct cuda_info {
10 unsigned start;
11 unsigned end;
13 FILE *input;
14 FILE *host_c;
15 FILE *kernel_c;
16 FILE *kernel_h;
19 void cuda_open_files(struct cuda_info *info, const char *input);
20 void cuda_close_files(struct cuda_info *info);
22 #endif