gem5 v24.0.0.0
Loading...
Searching...
No Matches
hsa_packet_processor.cc File Reference
#include "dev/hsa/hsa_packet_processor.hh"
#include <cassert>
#include <cstring>
#include "base/chunk_generator.hh"
#include "base/compiler.hh"
#include "base/logging.hh"
#include "base/trace.hh"
#include "debug/HSAPacketProcessor.hh"
#include "dev/amdgpu/amdgpu_device.hh"
#include "dev/dma_device.hh"
#include "dev/hsa/hsa_packet.hh"
#include "dev/hsa/hw_scheduler.hh"
#include "enums/GfxVersion.hh"
#include "gpu-compute/gpu_command_processor.hh"
#include "mem/packet_access.hh"
#include "mem/page_table.hh"
#include "sim/full_system.hh"
#include "sim/process.hh"
#include "sim/proxy_ptr.hh"
#include "sim/system.hh"

Go to the source code of this file.

Namespaces

namespace  gem5
 Copyright (c) 2024 - Pranith Kumar Copyright (c) 2020 Inria All rights reserved.
 

Macros

#define HSAPP_EVENT_DESCRIPTION_GENERATOR(XEVENT)
 
#define PKT_TYPE(PKT)
 
#define IS_BARRIER(PKT)
 

Macro Definition Documentation

◆ HSAPP_EVENT_DESCRIPTION_GENERATOR

#define HSAPP_EVENT_DESCRIPTION_GENERATOR ( XEVENT)
Value:
const char* \
HSAPacketProcessor::XEVENT::description() const \
{ \
return #XEVENT; \
}

Definition at line 55 of file hsa_packet_processor.cc.

◆ IS_BARRIER

#define IS_BARRIER ( PKT)
Value:
((hsa_packet_header_t)(((PKT->header) >> \
hsa_packet_header_t
Sub-fields of the header field that is present in any AQL packet.
Definition hsa.h:2810
@ HSA_PACKET_HEADER_BARRIER
Barrier bit.
Definition hsa.h:2822
@ HSA_PACKET_HEADER_WIDTH_BARRIER
Definition hsa.h:2859

Definition at line 67 of file hsa_packet_processor.cc.

Referenced by gem5::HSAPacketProcessor::processPkt().

◆ PKT_TYPE

#define PKT_TYPE ( PKT)
Value:
((hsa_packet_type_t)(((PKT->header) >> \
hsa_packet_type_t
Packet type.
Definition hsa.h:2746
@ HSA_PACKET_HEADER_TYPE
Packet type.
Definition hsa.h:2816
@ HSA_PACKET_HEADER_WIDTH_TYPE
Definition hsa.h:2858

Definition at line 62 of file hsa_packet_processor.cc.

Referenced by gem5::HSAPacketProcessor::processPkt().


Generated on Tue Jun 18 2024 16:24:08 for gem5 by doxygen 1.11.0