Merge branch 'tm_race_cond_suspicion'
This commit is contained in:
commit
473735af91
1 changed files with 3 additions and 3 deletions
|
@ -85,7 +85,7 @@ using Portion = std::tuple<double, double>;
|
||||||
|
|
||||||
// Set this to true to enable full parallelism in this module.
|
// Set this to true to enable full parallelism in this module.
|
||||||
// Only the well tested parts will be concurrent if this is set to false.
|
// Only the well tested parts will be concurrent if this is set to false.
|
||||||
const constexpr bool USE_FULL_CONCURRENCY = true;
|
const constexpr bool USE_FULL_CONCURRENCY = false;
|
||||||
|
|
||||||
template<bool> struct _ccr {};
|
template<bool> struct _ccr {};
|
||||||
|
|
||||||
|
@ -1194,7 +1194,7 @@ class SLASupportTree::Algorithm {
|
||||||
// Now a and b vectors are perpendicular to v and to each other.
|
// Now a and b vectors are perpendicular to v and to each other.
|
||||||
// Together they define the plane where we have to iterate with the
|
// Together they define the plane where we have to iterate with the
|
||||||
// given angles in the 'phis' vector
|
// given angles in the 'phis' vector
|
||||||
ccr_seq::enumerate(phis.begin(), phis.end(),
|
ccr_par::enumerate(phis.begin(), phis.end(),
|
||||||
[&hits, &m, sd, r_pin, r_back, s, a, b, c]
|
[&hits, &m, sd, r_pin, r_back, s, a, b, c]
|
||||||
(double phi, size_t i)
|
(double phi, size_t i)
|
||||||
{
|
{
|
||||||
|
@ -1297,7 +1297,7 @@ class SLASupportTree::Algorithm {
|
||||||
// Hit results
|
// Hit results
|
||||||
std::array<HitResult, SAMPLES> hits;
|
std::array<HitResult, SAMPLES> hits;
|
||||||
|
|
||||||
ccr_seq::enumerate(phis.begin(), phis.end(),
|
ccr_par::enumerate(phis.begin(), phis.end(),
|
||||||
[&m, a, b, sd, dir, r, s, ins_check, &hits]
|
[&m, a, b, sd, dir, r, s, ins_check, &hits]
|
||||||
(double phi, size_t i)
|
(double phi, size_t i)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue