Skip to content

Latest commit

 

History

History
16 lines (13 loc) · 439 Bytes

File metadata and controls

16 lines (13 loc) · 439 Bytes

A Lightweight DSL for Morphological Operations with AVX-512 Optimization

compile dsl

python compiler.py sample.mdsl    

build c++ code

g++ -O3 -mavx512bw -mavx512vl -fopenmp -std=c++17 output.cpp -o image_processor $(pkg-config --cflags --libs opencv4)

build opencv code

g++ -O3 -mavx512bw -mavx512vl -fopenmp -std=c++17 opencv_ground_truth.cpp -o ground_truth $(pkg-config --cflags --libs opencv4)