No description
Find a file
2025-04-02 15:29:26 +02:00
runs Initial commit 2025-04-02 15:29:26 +02:00
CMakeLists.txt Initial commit 2025-04-02 15:29:26 +02:00
README.md Initial commit 2025-04-02 15:29:26 +02:00
simd-test.cpp Initial commit 2025-04-02 15:29:26 +02:00

SIMD Divergence Demonstration

This repo just contains a quick demonstration that likelihood divergence can result simply from the use of different SIMD kernels for likelihood computations.

Sample:

$ cmake -B cmake-build-release -S . -DCMAKE_BUILD_TYPE=Release
$ cmake --build cmake-build-release --parallel
$ ./cmake-build-release/likelihooddiv 260 354 42
taxa = 260, sites = 354, seed = 42
before = -3580.587007269921286933822557330132
after = -2967.897816647356648900313302874565
CPU 0 loglh	= -2967.897816647347553953295573592186
SSE 1 loglh	= -2967.897816647355739405611529946327
AVX 2 loglh	= -2967.897816647356648900313302874565
AVX2 4 loglh	= -2967.897816647356648900313302874565