Skip to main content

class range_mapper

Declaration

template <int BufferDims, typename Functor>
class range_mapper : public range_mapper_base { /* full declaration omitted */ };

Inherits from: range_mapper_base

Template Parameters

int BufferDims
Functor

Member Variables

Functor m_rmfn
range<BufferDims> m_buffer_size

Member Function Overview

  • get_buffer_dimensions() const → int
  • map_1(const chunk<0> & chnk) const → subrange<1>
  • map_1(const chunk<1> & chnk) const → subrange<1>
  • map_1(const chunk<2> & chnk) const → subrange<1>
  • map_1(const chunk<3> & chnk) const → subrange<1>
  • map_2(const chunk<0> & chnk) const → subrange<2>
  • map_2(const chunk<1> & chnk) const → subrange<2>
  • map_2(const chunk<2> & chnk) const → subrange<2>
  • map_2(const chunk<3> & chnk) const → subrange<2>
  • map_3(const chunk<0> & chnk) const → subrange<3>
  • map_3(const chunk<1> & chnk) const → subrange<3>
  • map_3(const chunk<2> & chnk) const → subrange<3>
  • map_3(const chunk<3> & chnk) const → subrange<3>
  • range_mapper(Functor rmfn, sycl::access::mode am, range<BufferDims> buffer_size)
  • template <int OtherBufferDims, int KernelDims>
    map(const chunk<KernelDims> & chnk) const → subrange<OtherBufferDims>

Inherited from range_mapper_base:

Member Functions

int get_buffer_dimensions() const


subrange<1> map_1(const chunk<0>& chnk) const

Parameters

const chunk<0>& chnk

subrange<1> map_1(const chunk<1>& chnk) const

Parameters

const chunk<1>& chnk

subrange<1> map_1(const chunk<2>& chnk) const

Parameters

const chunk<2>& chnk

subrange<1> map_1(const chunk<3>& chnk) const

Parameters

const chunk<3>& chnk

subrange<2> map_2(const chunk<0>& chnk) const

Parameters

const chunk<0>& chnk

subrange<2> map_2(const chunk<1>& chnk) const

Parameters

const chunk<1>& chnk

subrange<2> map_2(const chunk<2>& chnk) const

Parameters

const chunk<2>& chnk

subrange<2> map_2(const chunk<3>& chnk) const

Parameters

const chunk<3>& chnk

subrange<3> map_3(const chunk<0>& chnk) const

Parameters

const chunk<0>& chnk

subrange<3> map_3(const chunk<1>& chnk) const

Parameters

const chunk<1>& chnk

subrange<3> map_3(const chunk<2>& chnk) const

Parameters

const chunk<2>& chnk

subrange<3> map_3(const chunk<3>& chnk) const

Parameters

const chunk<3>& chnk

range_mapper(Functor rmfn,
             sycl::access::mode am,
             range<BufferDims> buffer_size)

Parameters

Functor rmfn
sycl::access::mode am
range<BufferDims> buffer_size

template <int OtherBufferDims, int KernelDims>
subrange<OtherBufferDims> map(
    const chunk<KernelDims>& chnk) const

Template Parameters

int OtherBufferDims
int KernelDims

Parameters

const chunk<KernelDims>& chnk