14#ifndef LLVM_FRONTEND_OPENMP_OMPGRIDVALUES_H
15#define LLVM_FRONTEND_OPENMP_OMPGRIDVALUES_H
108 static_assert(wavesize == 32 || wavesize == 64,
"Unexpected wavesize");
static constexpr GV AMDGPUGridValues64
For AMDGPU GPUs.
static constexpr GV AMDGPUGridValues32
constexpr const GV & getAMDGPUGridValues()
static constexpr GV NVPTXGridValues
For Nvidia GPUs.
This is an optimization pass for GlobalISel generic memory operations.
Defines various target-specific GPU grid values that must be consistent between host RTL (plugin),...
constexpr unsigned maxWarpNumber() const
constexpr unsigned warpSlotSize() const
unsigned GV_Slot_Size
The size reserved for data in a shared memory slot.
unsigned GV_Default_Num_Teams
unsigned GV_Warp_Size
The default value of maximum number of threads in a worker warp.
unsigned GV_Default_WG_Size
unsigned GV_SimpleBufferSize
unsigned GV_Max_Teams
the maximum number of teams.