Realm
A distributed, event-based tasking library
Loading...
Searching...
No Matches
PRealm::Rect< N, T > Struct Template Reference

#include <prealm.h>

Inheritance diagram for PRealm::Rect< N, T >:
Collaboration diagram for PRealm::Rect< N, T >:

Public Member Functions

REALM_CUDA_HD Rect (void)
 
template<int N2, typename T2 >
REALM_CUDA_HD Rect (const Realm::Rect< N2, T2 > &rhs)
 
template<int N2, typename T2 >
REALM_CUDA_HD Rect (const Rect< N2, T2 > &rhs)
 
template<int N2, typename T2 >
REALM_CUDA_HD Rect< N, T > & operator= (const Realm::Rect< N2, T2 > &rhs)
 
template<int N2, typename T2 >
REALM_CUDA_HD Rect< N, T > & operator= (const Rect< N2, T2 > &rhs)
 
Event fill (const std::vector< CopySrcDstField > &dsts, const ProfilingRequestSet &requests, const void *fill_value, size_t fill_value_size, Event wait_on=Event::NO_EVENT, int priority=0) const
 
Event copy (const std::vector< CopySrcDstField > &srcs, const std::vector< CopySrcDstField > &dsts, const ProfilingRequestSet &requests, Event wait_on=Event::NO_EVENT, int priority=0) const
 
Event copy (const std::vector< CopySrcDstField > &srcs, const std::vector< CopySrcDstField > &dsts, const IndexSpace< N, T > &mask, const ProfilingRequestSet &requests, Event wait_on=Event::NO_EVENT, int priority=0) const
 
- Public Member Functions inherited from Realm::Rect< N, T >
typedef ONLY_IF_INTEGRAL (T) value_type
 
REALM_CUDA_HD Rect (void)
 
REALM_CUDA_HD Rect (const Point< N, T > &_lo, const Point< N, T > &_hi)
 
template<typename T2 >
REALM_CUDA_HD Rect (const Rect< N, T2 > &copy_from)
 
template<typename T2 >
REALM_CUDA_HD Rect< N, T > & operator= (const Rect< N, T2 > &copy_from)
 
REALM_CUDA_HD bool empty (void) const
 
REALM_CUDA_HD size_t volume (void) const
 
REALM_CUDA_HD bool contains (const Point< N, T > &p) const
 
REALM_CUDA_HD bool contains (const Rect< N, T > &other) const
 
REALM_CUDA_HD bool contains (const IndexSpace< N, T > &is) const
 
REALM_CUDA_HD bool overlaps (const Rect< N, T > &other) const
 
REALM_CUDA_HD Rect< N, T > intersection (const Rect< N, T > &other) const
 
REALM_CUDA_HD Rect< N, T > union_bbox (const Rect< N, T > &other) const
 
template<int N2, typename T2 >
Rect< N2, T2 > REALM_CUDA_HD apply_transform (const Matrix< N2, N, T2 > &transform, const Point< N2, T2 > &offset) const
 
Event fill (const std::vector< CopySrcDstField > &dsts, const ProfilingRequestSet &requests, const void *fill_value, size_t fill_value_size, Event wait_on=Event::NO_EVENT, int priority=0) const
 
Event copy (const std::vector< CopySrcDstField > &srcs, const std::vector< CopySrcDstField > &dsts, const ProfilingRequestSet &requests, Event wait_on=Event::NO_EVENT, int priority=0) const
 
Event copy (const std::vector< CopySrcDstField > &srcs, const std::vector< CopySrcDstField > &dsts, const IndexSpace< N, T > &mask, const ProfilingRequestSet &requests, Event wait_on=Event::NO_EVENT, int priority=0) const
 

Additional Inherited Members

- Static Public Member Functions inherited from Realm::Rect< N, T >
static REALM_CUDA_HD Rect< N, T > make_empty (void)
 
- Public Attributes inherited from Realm::Rect< N, T >
Point< N, T > lo
 
Point< N, T > hi
 

Constructor & Destructor Documentation

◆ Rect() [1/3]

template<int N, typename T = int>
REALM_CUDA_HD PRealm::Rect< N, T >::Rect ( void  )
inline

◆ Rect() [2/3]

template<int N, typename T = int>
template<int N2, typename T2 >
REALM_CUDA_HD PRealm::Rect< N, T >::Rect ( const Realm::Rect< N2, T2 > &  rhs)
inline

◆ Rect() [3/3]

template<int N, typename T = int>
template<int N2, typename T2 >
REALM_CUDA_HD PRealm::Rect< N, T >::Rect ( const Rect< N2, T2 > &  rhs)
inline

Member Function Documentation

◆ copy() [1/2]

template<int N, typename T = int>
Event PRealm::Rect< N, T >::copy ( const std::vector< CopySrcDstField > &  srcs,
const std::vector< CopySrcDstField > &  dsts,
const IndexSpace< N, T > &  mask,
const ProfilingRequestSet requests,
Event  wait_on = Event::NO_EVENT,
int  priority = 0 
) const

◆ copy() [2/2]

template<int N, typename T = int>
Event PRealm::Rect< N, T >::copy ( const std::vector< CopySrcDstField > &  srcs,
const std::vector< CopySrcDstField > &  dsts,
const ProfilingRequestSet requests,
Event  wait_on = Event::NO_EVENT,
int  priority = 0 
) const

◆ fill()

template<int N, typename T = int>
Event PRealm::Rect< N, T >::fill ( const std::vector< CopySrcDstField > &  dsts,
const ProfilingRequestSet requests,
const void *  fill_value,
size_t  fill_value_size,
Event  wait_on = Event::NO_EVENT,
int  priority = 0 
) const

◆ operator=() [1/2]

template<int N, typename T = int>
template<int N2, typename T2 >
REALM_CUDA_HD Rect< N, T > & PRealm::Rect< N, T >::operator= ( const Realm::Rect< N2, T2 > &  rhs)
inline

◆ operator=() [2/2]

template<int N, typename T = int>
template<int N2, typename T2 >
REALM_CUDA_HD Rect< N, T > & PRealm::Rect< N, T >::operator= ( const Rect< N2, T2 > &  rhs)
inline

The documentation for this struct was generated from the following file: