alpaka
Abstraction Library for Parallel Kernel Acceleration
Loading...
Searching...
No Matches
alpaka::concepts::IView Concept Reference

Interface concept for objects describing api-related multidimensional memory access. More...

#include <IView.hpp>

Concept definition

template<typename T, typename T_ValueType = alpaka::NotRequired>
concept IView = requires(T t) {
requires impl::IView<
std::remove_reference_t<T>,
std::remove_const_t<std::remove_reference_t<T>>,
std::add_const_t<std::remove_reference_t<T>>>;
}
Check whether the specified data type matches the expected type, or if the expected type is alpaka::N...
Interface concept for objects describing api-related multidimensional memory access.
Definition IView.hpp:56
Interface concept for objects describing api-related multidimensional memory access.
Definition IView.hpp:28

Detailed Description

Interface concept for objects describing api-related multidimensional memory access.

An alpaka::view-like object contains information about the device(s) to which it is connected. The alpaka::view-like object has no memory ownership, and, therefore, it does not manage the memory lifetime. The represented memory can have any dimensionality.

Attention
Use alpaka::IView to restrict types in your code. The actual interface is described in alpaka::concepts::impl::IView.

Definition at line 56 of file IView.hpp.