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
update pet to version 0.11.4
[ppcg.git]
/
cuda_common.h
blob
2a7db952cdf79e7a5d2322004c19a897a10a758d
1
#ifndef _CUDA_COMMON_H_
2
#define _CUDA_COMMON_H_
3
4
#include <stdio.h>
5
6
struct
cuda_info
{
7
FILE
*
host_c
;
8
FILE
*
kernel_c
;
9
FILE
*
kernel_h
;
10
};
11
12
void
cuda_open_files
(
struct
cuda_info
*
info
,
const char
*
input
);
13
void
cuda_close_files
(
struct
cuda_info
*
info
);
14
15
#endif