![]() |
Mali OpenCL SDK v1.1.0
|
Go to the source code of this file.
Functions | |
__kernel void | long_vectors (__global uchar *restrict imagePixels, __global ulong *restrict squareOfPixels, __global ulong *restrict sumOfPixels) |
Long data type (64-bit integer) kernel. | |
__kernel void long_vectors | ( | __global uchar *restrict | imagePixels, |
__global ulong *restrict | squareOfPixels, | ||
__global ulong *restrict | sumOfPixels | ||
) |
Long data type (64-bit integer) kernel.
This kernel loads 8 pixel values to calculate the square of each pixel value. Then it accumulates the square of pixels and the sum of pixels values in the respective accumulators.
[in] | imagePixels | Input array with image pixels. |
[in] | squareOfPixels | Sum of the square of pixel values. |
[out] | sumOfPixels | Sum of pixel values. |
Definition at line 24 of file 64_bit_integer.cl.