From f2a029058aefd5c8b94ea130f5c2f5ab9d9308f8 Mon Sep 17 00:00:00 2001 From: Kyle Roarty Date: Tue, 11 May 2021 17:07:02 -0500 Subject: [PATCH] gpu-compute: Ignore GPU kernel names ROCm 4 seems to have updated the akc, and the only real issue that has occured is that we're no longer able to read kernel names in the same way as we were in ROCm 1.6. This patch removes the prior method of reading kernel names and gives all kernels a temporary name Change-Id: I0040e0cf4cd35d6f56ded6a8acfb10c600bcc77a Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/46245 Tested-by: kokoro Reviewed-by: Matt Sinclair Reviewed-by: Matthew Poremba Maintainer: Matt Sinclair --- src/gpu-compute/gpu_command_processor.cc | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/gpu-compute/gpu_command_processor.cc b/src/gpu-compute/gpu_command_processor.cc index 9bdd0b9bba..78b3235480 100644 --- a/src/gpu-compute/gpu_command_processor.cc +++ b/src/gpu-compute/gpu_command_processor.cc @@ -171,7 +171,6 @@ GPUCommandProcessor::submitDispatchPkt(void *raw_pkt, uint32_t queue_id, DPRINTF(GPUCommandProc, "Machine code starts at addr: %#x\n", machine_code_addr); - Addr kern_name_addr(0); std::string kernel_name; /** @@ -184,10 +183,7 @@ GPUCommandProcessor::submitDispatchPkt(void *raw_pkt, uint32_t queue_id, * host memory. I have no idea what BLIT stands for. * */ if (akc.runtime_loader_kernel_symbol) { - virt_proxy.readBlob(akc.runtime_loader_kernel_symbol + 0x10, - (uint8_t*)&kern_name_addr, 0x8); - - virt_proxy.readString(kernel_name, kern_name_addr); + kernel_name = "Some kernel"; } else { kernel_name = "Blit kernel"; }