Home | History | Annotate | Download | only in Allocations

Lines Matching refs:in

5 * you may not use this file except in compliance with the License.
10 * Unless required by applicable law or agreed to in writing, software
21 uchar4 __attribute__((kernel)) swizzle_kernel(uchar4 in)
23 return in.wzyx;
26 // Kernel squares every element in allocation
27 uint __attribute__((kernel)) square_kernel(ushort in)
29 uint result = (uint)in * (uint)in;
33 // Helper function adding 1/2 to passed in double
34 static double half_helper(double in)
36 return (in + 0.5);
40 double3 __attribute__((kernel)) add_half_kernel(double4 in)
43 result.x = half_helper(in.x);
44 result.y = half_helper(in.y);
45 result.z = half_helper(in.z);