source:
CIVL/mods/dev.civl.com/examples/opencl/2.15/vecaddmain.cvl@
cb4d4f4
| Last change on this file since cb4d4f4 was aad342c, checked in by , 3 years ago | |
|---|---|
|
|
| File size: 246 bytes | |
| Line | |
|---|---|
| 1 | #include <civlc.cvh> |
| 2 | |
| 3 | #include "vectorAdd.cvl" |
| 4 | #include <stdio.h> |
| 5 | #include <stdlib.h> |
| 6 | #include <math.h> |
| 7 | #include "openCLshared.cvl" |
| 8 | |
| 9 | $input int NUM_DEVICES; |
| 10 | $input int MAX_NUM_DEVICES; |
| 11 | $assume(0 < NUM_DEVICES && NUM_DEVICES < MAX_NUM_DEVICES); |
| 12 | |
| 13 |
Note:
See TracBrowser
for help on using the repository browser.
