source:
CIVL/examples/translation/opencl/ctx.cvl@
00dbbe9
| Last change on this file since 00dbbe9 was 00dbbe9, checked in by , 12 years ago | |
|---|---|
|
|
| File size: 161 bytes | |
| Rev | Line | |
|---|---|---|
| [00dbbe9] | 1 | |
| 2 | ||
| 3 | ||
| 4 | ||
| 5 | typedef struct | |
| 6 | { | |
| 7 | int yes; | |
| 8 | int *no; | |
| 9 | } | |
| 10 | *cl_context; | |
| 11 | ||
| 12 | ||
| 13 | void main() | |
| 14 | { | |
| 15 | cl_context *ctx; | |
| 16 | ||
| 17 | ctx->yes = 5; | |
| 18 | ctx->no = 5; | |
| 19 | ||
| 20 | } | |
| 21 |
Note:
See TracBrowser
for help on using the repository browser.
