Blender Git Commit Log

Git Commits -> Revision a639b37

Revision a639b37 by Ray molenkamp (vr_scene_inspection)
February 20, 2020, 12:00 (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: a639b37b88d62e4d9d4de7a4be359d73c9cda04d
Parent Commit: 4f19513
Committed By: Julian Eisel
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