Tpetra parallel linear algebra  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Namespaces | Functions
Tpetra_Details_checkPointer.hpp File Reference

Declaration of functions for checking whether a given pointer is accessible from a given Kokkos execution space. More...

#include "TpetraCore_config.h"
#include <string>

Go to the source code of this file.

Namespaces

 Tpetra
 Namespace Tpetra contains the class and methods constituting the Tpetra library.
 
 Tpetra::Details
 Nonmember function that computes a residual Computes R = B - A * X.
 

Functions

template<class ExecutionSpace >
bool Tpetra::Details::pointerAccessibleFromExecutionSpace (const void *ptr, const ExecutionSpace &space)
 Is the given nonnull ptr accessible from the given execution space? More...
 
std::string Tpetra::Details::memorySpaceName (const void *ptr)
 Return the Kokkos memory space name (without "Kokkos::") corresponding to the given nonnull pointer. More...
 

Detailed Description

Declaration of functions for checking whether a given pointer is accessible from a given Kokkos execution space.

Warning
This header file and its contents are implementation details of Tpetra.

Definition in file Tpetra_Details_checkPointer.hpp.