gem5 v25.0.0.1
Loading...
Searching...
No Matches
kernel_code.hh File Reference
#include <bitset>
#include <cstdint>

Go to the source code of this file.

Classes

struct  gem5::GEM5_PACKED
 PM4 packets. More...

Namespaces

namespace  gem5
 Copyright (c) 2024 Arm Limited All rights reserved.

Typedefs

typedef struct gem5::GEM5_PACKED gem5::AMDKernelCode

Enumerations

enum  gem5::ScalarRegInitFields : int {
  gem5::PrivateSegBuf = 0 , gem5::DispatchPtr = 1 , gem5::QueuePtr = 2 , gem5::KernargSegPtr = 3 ,
  gem5::DispatchId = 4 , gem5::FlatScratchInit = 5 , gem5::PrivateSegSize = 6 , gem5::KernargPreload = 7 ,
  gem5::WorkgroupIdX = 8 , gem5::WorkgroupIdY = 9 , gem5::WorkgroupIdZ = 10 , gem5::WorkgroupInfo = 11 ,
  gem5::PrivSegWaveByteOffset = 12 , gem5::NumScalarInitFields = 13
}
 these enums represent the indices into the initialRegState bitfields in HsaKernelInfo. More...
enum  gem5::VectorRegInitFields : int { gem5::WorkitemIdX = 0 , gem5::WorkitemIdY = 1 , gem5::WorkitemIdZ = 2 , gem5::NumVectorInitFields = 3 }

Variables

constexpr int gem5::KernargPreloadPktSize = 256
 The number of bytes after the dispatch packet which contain kernel arguments that should be preloaded into SGPRs before dispatch.

Generated on Sat Oct 18 2025 08:06:47 for gem5 by doxygen 1.14.0