Mali OpenCL SDK v1.1.0
 All Classes Files Functions Variables Macros Pages
hello_world_c.cpp File Reference
#include <iostream>

Go to the source code of this file.

Functions

int main (void)
 Basic integer array addition implemented in C/C++.
 

Function Documentation

int main ( void  )

Basic integer array addition implemented in C/C++.

A sample which shows how to add two integer arrays and store the result in a third array. No OpenCL code is used in this sample, only standard C/C++. The code executes only on the CPU.

Returns
The exit code of the application, non-zero if a problem occurred.

Definition at line 21 of file hello_world_c.cpp.