Add branchless w() variants sadly we had worse performance
This commit is contained in:
committed by
[Quy Anh] «Elliot» Nguyen
parent
2cd9031913
commit
c3f6fa3b27
@@ -96,4 +96,7 @@ const double EPS = 1e-9;
|
||||
// Squared numerical tolerance
|
||||
const double EPS_SQ = EPS * EPS;
|
||||
|
||||
|
||||
const double cos_phi_sq = cos_phi * cos_phi;
|
||||
|
||||
const size_t CACHE_BLOCK_SIZE = std::hardware_destructive_interference_size;
|
||||
Reference in New Issue
Block a user