Block-Structured AMR Software Framework
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
Loading...
Searching...
No Matches
AMReX_EB2_IF_Base.H
Go to the documentation of this file.
1
#ifndef AMREX_EB2_IF_BASE_H_
2
#define AMREX_EB2_IF_BASE_H_
3
#include <AMReX_Config.H>
4
5
#include <
AMReX_Gpu.H
>
6
#include <
AMReX_Utility.H
>
7
#include <type_traits>
8
9
namespace
amrex
{
10
11
struct
GPUable
{};
12
13
namespace
EB2 {
14
15
template
<
class
D,
class
Enable =
void
>
struct
IsGPUable
: std::false_type {};
16
17
template
<
class
D>
18
struct
IsGPUable
<D, std::enable_if_t<std::is_base_of_v<GPUable,D>>>
19
: std::true_type {};
20
21
}
22
}
23
24
#endif
AMReX_Gpu.H
AMReX_Utility.H
amrex
Definition
AMReX_Amr.cpp:49
amrex::EB2::IsGPUable
Definition
AMReX_EB2_IF_Base.H:15
amrex::GPUable
Definition
AMReX_EB2_IF_Base.H:11
Src
EB
AMReX_EB2_IF_Base.H
Generated by
1.9.8