1.23
2.0
acw/focus-triggers
main
test-branch
| Line | |
|---|
| 1 |
|
|---|
| 2 | //clCreateProgram for each individual one, because the struct args is defined here
|
|---|
| 3 | cl_program clCreateProgram(args * argument)
|
|---|
| 4 | {
|
|---|
| 5 | cl_program program;
|
|---|
| 6 | program.arguments = argument;
|
|---|
| 7 |
|
|---|
| 8 | return program;
|
|---|
| 9 | }
|
|---|
| 10 |
|
|---|
| 11 | /*
|
|---|
| 12 | int clSetKernelArg(cl_kernel kernel, int index, size_t size, void * value)
|
|---|
| 13 | {
|
|---|
| 14 | if (index == 0)
|
|---|
| 15 | {
|
|---|
| 16 | kernel.program.arguments.input = (int *)malloc(size);
|
|---|
| 17 | }
|
|---|
| 18 |
|
|---|
| 19 | return CL_SUCCESS;
|
|---|
| 20 | }
|
|---|
| 21 | */
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.