Advanced Multi-Physics (AMP)
On-Line Documentation
Namespaces | Enumerations | Functions
Backend.h File Reference
#include "AMP/AMP_TPLs.h"
#include "AMP/utils/Memory.h"
#include <algorithm>
#include <string_view>
Include dependency graph for Backend.h:

Go to the source code of this file.

Namespaces

namespace  AMP
 
namespace  AMP::Utilities
 

Enumerations

enum class  AMP::Utilities::Backend : int8_t {
  AMP::Utilities::Serial = 0 , AMP::Utilities::Hip_Cuda = 1 , AMP::Utilities::Kokkos = 2 , AMP::Utilities::OpenMP = 3 ,
  AMP::Utilities::OpenACC = 4 , AMP::Utilities::OpenCL = 5 , AMP::Utilities::RAJA = 6
}
 Enum to store the backend used for gpu acceleration. More...
 
enum class  AMP::Utilities::ExecutionSpace : int8_t { AMP::Utilities::unspecified , AMP::Utilities::cpu , AMP::Utilities::device }
 

Functions

Backend AMP::Utilities::backendFromString (const std::string_view name)
 
ExecutionSpace AMP::Utilities::executionSpaceFromString (const std::string_view name)
 
Backend AMP::Utilities::getDefaultBackend (const MemoryType memory_location)
 
ExecutionSpace AMP::Utilities::getDefaultExecutionSpace (const MemoryType memory_location)
 
std::string_view AMP::Utilities::getString (const Backend backend)
 
std::string_view AMP::Utilities::getString (const ExecutionSpace exec_space)
 



Advanced Multi-Physics (AMP)
Oak Ridge National Laboratory
Idaho National Laboratory
Los Alamos National Laboratory
This page automatically produced from the
source code by doxygen
Last updated: Tue Mar 10 2026 13:06:41.
Comments on this page