OpencvでAlphamatを使うのに必要。
environment
・windows 10
・cpu ryzen 3700x
・gpu ncvidia-rtx3900
software
・anaconda
・ninja
・cmake
・git
・opencv-4.5.0
・ant 1.8.2
・open-jdk-15
・cuda 11
・cudnn 8.4
・visual studio 2019
cmd
mkdir eigen
cd eigen
git clone https://gitlab.com/libeigen/eigen.git
cd eigen
mkdir build
cd build
cmake -G "Visual Studio 16 2019" -T host=x64 -DCMAKE_INSTALL_PREFIX=/tools/opt/eigen -DEIGEN_INCLUDE_PATH=/tools/opt/eigen build64 -DEIGEN_TEST_CUDA=ON -DBLAS_DIR=/tools/opt/openblas ..
cmake --build . --config Release --target install -j 8
capture
cmake -G "Visual Studio 16 2019" -T host=x64 -DCMAKE_INSTALL_PREFIX=/tools/opt/eigen -DEIGEN_INCLUDE_PATH=/tools/opt/eigen build64 -DEIGEN_TEST_CUDA=ON -DBLAS_DIR=/tools/opt/openblas ..