Blender Git Commit Log

Git Commits -> Revision 003a97e

Revision 003a97e by Ray Molenkamp (master)
February 18, 2020, 13:42 (GMT)
Cycles: Fix failing avxf cross test on AVX2

cycles_util_avxf_avx2_test failed on the cross test, since
it wasn't immediately clear why, the test was disabled.

After looking into it, this test when build for AVX2 is
generating FMA instructions where the intermediate results
have "infinite" precision [1] leading to slightly different
results.

This diff re-enables the cross test and allows for a small error
in the results.

[1] https://www.felixcloutier.com/x86/vfmadd132ps:vfmadd213ps:vfmadd231ps

Differential Revision: https://developer.blender.org/D6873

Reviewers: brecht

Commit Details:

Full Hash: 003a97e0bf509c7eb8b1ae6bdc3f26976d514ab2
Parent Commit: ad9b919
Lines Changed: +16, -14

1 Modified Path:

/intern/cycles/test/util_avxf_test.h (+16, -14) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021