Add cache flush logic
This commit is contained in:
committed by
[Quy Anh] «Elliot» Nguyen
parent
18b2180322
commit
32c2b9440e
@@ -1,5 +1,6 @@
|
||||
#pragma once
|
||||
#include <cmath>
|
||||
#include <new>
|
||||
|
||||
//
|
||||
// $\frac{1}{\tau_{\alpha}}$; $\tau_{\alpha} = 0.5s$
|
||||
@@ -93,4 +94,6 @@ const double cost_sqrt = 1;
|
||||
const double EPS = 1e-9;
|
||||
|
||||
// Squared numerical tolerance
|
||||
const double EPS_SQ = EPS * EPS;
|
||||
const double EPS_SQ = EPS * EPS;
|
||||
|
||||
const size_t CACHE_BLOCK_SIZE = std::hardware_destructive_interference_size;
|
||||
Reference in New Issue
Block a user