“…Once the partition is computed, integral estimate is calculated using Equation 14. However, in our proposed approach, a single unique partition per class that combines the partition of rp-integral at all grid points of that particular class is calculated using heuristics instead of using traditional adaptive quadrature methods on each point.The main motivations for calculating such unique partition for a group of points instead of individual grid-point is that it eliminates the need for adaptive quadrature or data-dependent control-flow on each integral evaluation, which, as illustrated in[3,4,5], is the main performance bottleneck for such adaptive computations on SIMD architectures. The procedure RP-IntegralPartition implements this heuristics approach, where for each class c ∈ C, it generates a unique partition P [1..P.length] that denotes a rp-integral partition along the outer integration domain (r -domain).Ideally, P should be a combination of the partitions generated by rp-integral at all p ∈ c. However, computing such partition per class instead of individual grid-point is computationally challenging due to the data-dependent, and irregular control-flow behavior of different rp-integrals.…”