source: CIVL/examples/translation/openclversion2.1/possible trash@ 764d472

1.23 2.0 acw/focus-triggers main test-branch
Last change on this file since 764d472 was da70bc2, checked in by Jacob Trieu <fuufusuu@…>, 12 years ago

ABC when

git-svn-id: svn://vsl.cis.udel.edu/civl/trunk@1233 fb995dde-84ed-4084-dfe6-e5aef3e2452c

  • Property mode set to 100644
File size: 401 bytes
Line 
1
2//clCreateProgram for each individual one, because the struct args is defined here
3cl_program clCreateProgram(args * argument)
4{
5 cl_program program;
6 program.arguments = argument;
7
8 return program;
9}
10
11/*
12int 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.