Change-Id: I24f4a9ca6df805ec05163863490280f8f0a40930


[ROCm/rocprofiler commit: 40619ac19c]
Этот коммит содержится в:
Giovanni LB
2023-04-21 00:25:10 -03:00
коммит произвёл Gopesh Bhardwaj
родитель 44030f99ce
Коммит 0da1e506b3
-5
Просмотреть файл
@@ -849,11 +849,6 @@ void WriteInterceptor(const void* packets, uint64_t pkt_count, uint64_t user_pkt
std::lock_guard<std::mutex> lk(queue_info.qw_mutex);
Agent::AgentInfo* agentInfo = &(hsa_support::GetAgentInfo(queue_info.GetGPUAgent().handle));
if (agentInfo->getName().substr(0, 4) != "gfx9") {
printf("ATT collection is only supported for gfx9 at the moment!\n");
exit(1);
}
// Preparing att Packets
Packet::packet_t start_packet{};
Packet::packet_t stop_packet{};