map.hpp File Reference

Go to the source code of this file.

Namespaces

namespace  arbb
 

The Intel(R) ArBB C++ frontend namespace.


Functions

template<typename FunctionType >
unspecified_type< FunctionType > arbb::map (FunctionType function)
 Returns an object corresponding to function that can be used to perform the computations expressed in function as a map invocation.
template<typename T , std::size_t D>
detail::disable_if
< detail::is_container< T >
::value, T >::type 
arbb::neighbor (const T &source, const array< isize, D > &offset)
 Returns the element from the container corresponding to source in an arbb::map() invocation at the given offset from the current position.
template<typename T >
detail::disable_if
< detail::is_container< T >
::value, T >::type 
arbb::neighbor (const T &source, const isize &col)
 Returns the element from the container corresponding to source in an arbb::map() invocation at the an offset of {col, 0, 0} from the current position.
template<typename T >
detail::disable_if
< detail::is_container< T >
::value, T >::type 
arbb::neighbor (const T &source, const isize &col, const isize &row)
 Returns the element from the container corresponding to source in an arbb::map() invocation at the an offset of {col, row, 0} from the current position.
template<typename T >
detail::disable_if
< detail::is_container< T >
::value, T >::type 
arbb::neighbor (const T &source, const isize &col, const isize &row, const isize &page)
 Return the element from the container corresponding to source in an arbb::map() invocation at the an offset of {col, row, page} from the current position.
void arbb::position (usize &col)
 Returns the current position along the first dimension of an arbb::map() invocation into col.
void arbb::position (usize &col, usize &row)
 Returns the current position along the first and second dimension of an arbb::map() invocation into {col, row}.
void arbb::position (usize &col, usize &row, usize &page)
 Returns the current position along all dimensions of an arbb::map() invocation into {col, row, page}.
template<std::size_t D>
void arbb::position (array< usize, D > &pos)
 Returns the current position along the first D dimensions of an arbb::map() invocation into pos.
template<std::size_t D>
array< usize, D > arbb::position ()
 Returns the current position along the first D dimensions of an arbb::map() invocation as an arbb::array<usize, D> object.

Submit feedback on this help topic

Copyright © 2010, Intel Corporation. All rights reserved.