Block-Structured AMR Software Framework
 
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Loading...
Searching...
No Matches
AMReX_GpuKernelInfo.H
Go to the documentation of this file.
1#ifndef AMREX_GPU_KERNEL_INFO_H_
2#define AMREX_GPU_KERNEL_INFO_H_
3#include <AMReX_Config.H>
4
5namespace amrex::Gpu {
6
8{
9public:
10 KernelInfo& setReduction (bool flag) { has_reduction = flag; return *this; }
11 [[nodiscard]] bool hasReduction () const { return has_reduction; }
12private:
13 bool has_reduction = false;
14};
15
16}
17
18#endif
Definition AMReX_GpuKernelInfo.H:8
bool has_reduction
Definition AMReX_GpuKernelInfo.H:13
KernelInfo & setReduction(bool flag)
Definition AMReX_GpuKernelInfo.H:10
bool hasReduction() const
Definition AMReX_GpuKernelInfo.H:11
Definition AMReX_BaseFwd.H:52