Fix queue interception in tools.
1. Correct amd::AqlQueue::ExecutePM4 to support interception. 2. Minor fixes to AqlPacket and SoftCP. 3. Minimal change to disable interception of runtime internal queues. Change-Id: I103fece2ebf9a188d27f01e61221c737405d7253
Tento commit je obsažen v:
@@ -64,15 +64,13 @@ struct AqlPacket {
|
||||
hsa_agent_dispatch_packet_t agent;
|
||||
};
|
||||
|
||||
uint8_t type() {
|
||||
uint8_t type() const {
|
||||
return ((dispatch.header >> HSA_PACKET_HEADER_TYPE) &
|
||||
((1 << HSA_PACKET_HEADER_WIDTH_TYPE) - 1));
|
||||
}
|
||||
|
||||
bool IsValid() {
|
||||
const uint8_t packet_type = dispatch.header >> HSA_PACKET_HEADER_TYPE;
|
||||
return (packet_type > HSA_PACKET_TYPE_INVALID &&
|
||||
packet_type <= HSA_PACKET_TYPE_BARRIER_OR);
|
||||
bool IsValid() const {
|
||||
return (type() <= HSA_PACKET_TYPE_BARRIER_OR) & (type() != HSA_PACKET_TYPE_INVALID);
|
||||
}
|
||||
|
||||
std::string string() const {
|
||||
|
||||
Odkázat v novém úkolu
Zablokovat Uživatele