repo.or.cz
/
ppcg.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
compute_array_dim_size: recompute explicit representations for divs
[ppcg.git]
/
cuda_common.h
blob
dcff632c0104ecdbeedfef958518f92b9b1b8014
1
#ifndef _CUDA_COMMON_H_
2
#define _CUDA_COMMON_H_
3
4
#include <stdio.h>
5
6
struct
cuda_info
{
7
FILE
*
input
;
8
FILE
*
host_c
;
9
FILE
*
kernel_c
;
10
FILE
*
kernel_h
;
11
};
12
13
void
cuda_open_files
(
struct
cuda_info
*
info
,
const char
*
input
);
14
void
cuda_close_files
(
struct
cuda_info
*
info
);
15
16
#endif