Block-Structured AMR Software Framework
Loading...
Searching...
No Matches
AMReX_Partition.H File Reference
#include <AMReX_Config.H>
#include <AMReX_Gpu.H>
#include <AMReX_Scan.H>
#include <AMReX_Algorithm.H>
#include <algorithm>

Go to the source code of this file.

Namespaces

namespace  amrex

Functions

template<typename T, typename F>
int amrex::Partition (T *data, int beg, int end, F &&f)
 A GPU-capable partition function for contiguous data.
template<typename T, typename F>
int amrex::Partition (T *data, int n, F &&f)
 A GPU-capable partition function for contiguous data.
template<typename T, typename F>
int amrex::Partition (Gpu::DeviceVector< T > &v, F &&f)
 A GPU-capable partition function for contiguous data.
template<typename T, typename F>
int amrex::StablePartition (T *data, int beg, int end, F &&f)
 A GPU-capable partition function for contiguous data.
template<typename T, typename F>
int amrex::StablePartition (T *data, int n, F &&f)
 A GPU-capable partition function for contiguous data.
template<typename T, typename F>
int amrex::StablePartition (Gpu::DeviceVector< T > &v, F &&f)
 A GPU-capable partition function for contiguous data.