Download Code SampleDownload Documentation
Features / Description
The sample demonstrates how to implement efficient median filter with OpenCL™ standard. This implementation relies on auto-vectorization performed by Intel® SDK for OpenCL Applications compiler. The kernel code minimizes number of color buffer accesses, removes synchronization points, and uses data-level parallelism.
This sample demonstrates a CPU-optimized implementation of 2D image median filtration, showing how to:
- Implement calculation kernels using OpenCL C99
- Parallelize the kernels by running several work-groups in parallel
- Organize host-device data exchange with final image storage on the hard drive.
Supported Devices: CPU, Intel Processor Graphics, Intel® Xeon Phi™ coprocessor
Supported OS: Windows* OS
Complexity Level: Novice