source: CIVL/examples/translation/openclversion2.1/possible trash@ 054e457

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

Getting there

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

  • Property mode set to 100644
File size: 400 bytes
RevLine 
[d508f18]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;
[ad33b8b]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.