alpaka
Abstraction Library for Parallel Kernel Acceleration
Loading...
Searching...
No Matches
alpaka::onHost::internal::IsDataAccessible Struct Reference

checks if a view can be accessed from the given device More...

#include <interface.hpp>

Classes

struct  FirstPath
struct  FirstPath< cpu::Device< T_Platform >, T_Any >
struct  SecondPath

Detailed Description

checks if a view can be accessed from the given device

There are two paths to check if a view is accessible:

  • first: Try to validate the view in the scope of the device.
  • second: Try to validate based on soft criteria in the scope of the view's API. This path is required because the host API does not know about view data locations. The second path is optionally and will return always false if not specialized.

Definition at line 364 of file interface.hpp.


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