Module that enables parallel computation in Chrono.
This module implements parallel computing algorithms that can be used as a faster alternative to the default simulation algorithms in Chrono::Engine. This is achieved using OpenMP, CUDA, Thrust, etc.
|
#define | Thrust_Inclusive_Scan_Sum(x, y) |
|
#define | Thrust_Sort_By_Key(x, y) thrust::sort_by_key(THRUST_PAR x.begin(), x.end(), y.begin()) |
|
#define | Run_Length_Encode(y, z, w) |
|
#define | Thrust_Inclusive_Scan(x) thrust::inclusive_scan(THRUST_PAR x.begin(), x.end(), x.begin()) |
|
#define | Thrust_Exclusive_Scan(x) thrust::exclusive_scan(THRUST_PAR x.begin(), x.end(), x.begin()) |
|
#define | Thrust_Fill(x, y) thrust::fill(x.begin(), x.end(), y) |
|
#define | Thrust_Sort(x) thrust::sort(THRUST_PAR x.begin(), x.end()) |
|
#define | Thrust_Count(x, y) thrust::count(THRUST_PAR x.begin(), x.end(), y) |
|
#define | Thrust_Sequence(x) thrust::sequence(x.begin(), x.end()) |
|
#define | Thrust_Equal(x, y) thrust::equal(THRUST_PAR x.begin(), x.end(), y.begin()) |
|
#define | Thrust_Max(x) x[thrust::max_element(THRUST_PAR x.begin(), x.end()) - x.begin()] |
|
#define | Thrust_Min(x) x[thrust::min_element(THRUST_PAR x.begin(), x.end()) - x.begin()] |
|
#define | Thrust_Total(x) thrust::reduce(THRUST_PAR x.begin(), x.end()) |
|
#define | Thrust_Unique(x) thrust::unique(THRUST_PAR x.begin(), x.end()) - x.begin(); |
|
#define | DBG(x) printf(x); |
|