Block-Structured AMR Software Framework
 
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
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
 
namespace  amrex::detail
 

Functions

template<typename T , typename F >
int amrex::detail::amrex_partition_helper (T const *AMREX_RESTRICT pv, T *AMREX_RESTRICT pv2, int n, F &&f)
 
template<typename T >
void amrex::detail::amrex_stable_partition_helper (T *p, int n2)
 
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.