chi-0828 / SIMD_vips

rewrite CON_INT function to build SIMD-version convolution

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SIMD_vips

Rewrite CON_INT function in "libvips\libvips\convolution\im_conv"to build SIMD-version convolution

Vserion: libvips 7.42

Usage

cd SIMD_vips/libvips

./configure --prefix=(your install path) CFLAGS="-O2 -mavx2 -g -mfma"

make -j 8

make install

cd (your install path)

./vips im_conv ../testin.jpg ../testedge.jpg ../mask

Output example : image

Function Analysis

CPU Time

image

Instruction Retired

image

Execution Time Analysis (more chunks in loop)

image

About

rewrite CON_INT function to build SIMD-version convolution


Languages

Language:C 79.8%Language:C++ 11.1%Language:Python 3.3%Language:TeX 3.3%Language:M4 0.8%Language:Shell 0.5%Language:Makefile 0.5%Language:Roff 0.5%Language:SWIG 0.2%