/SIMD_vips

rewrite CON_INT function to build SIMD-version convolution

Primary LanguageC

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