cpp

Update July 2021

Modern C++ 23 for Image Processing

You need latest version of C++ compiler in order to use C++ 20 standard. GCC>12 or CLang>13. CUDA 11 support C++17 by nvcc; Cmake.

Module Interface Unit : *.cppm

Module Implementation Unit: *.cpp




Important commands

compile c++ 20; based on GCC 12, CLang 13

clang++ -std=c++2a -c helloworld.cpp -Xclang -emit-module-interface -o helloworld.pcm

clang++ -std=c++2a -stdlib=libc++ -fimplicit-modules -fimplicit-module-maps -fprebuilt-module-path=. main.cpp helloworld.cpp

commands

htop

ulimit -a

Tools

brew install --HEAD LouisBrunner/valgrind/valgrind

valgrind ./a.out