Mali OpenCL SDK v1.1.0
 All Classes Files Functions Variables Macros Pages
fir_float.cpp File Reference
#include "common.h"
#include "image.h"
#include <CL/cl.h>
#include <iostream>
#include <fstream>
#include <sstream>
#include <cstddef>
#include <cmath>

Go to the source code of this file.

Functions

int main (void)
 Simple FIR filter OpenCL sample.
 

Function Documentation

int main ( void  )

Simple FIR filter OpenCL sample.

A sample which loads an image from assets/input.bmp and then passes it to the GPU. An OpenCL kernel applies FIR filtering on the data and the output image data is stored in output.bmp on the target.

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

Definition at line 30 of file fir_float.cpp.