From 286cf8f7321ebfa1439417fa4b52f4cc7376cc5b Mon Sep 17 00:00:00 2001 From: Sean Keely Date: Wed, 4 Sep 2019 19:48:31 -0500 Subject: [PATCH] Enable trap handler on APUs. Change-Id: Ifdc8c2782498b3fbe238d773120d378c47918d07 [ROCm/ROCR-Runtime commit: f2599fccb6c9f58078c9c02b550cfea7a4c1e419] --- .../runtime/hsa-runtime/core/runtime/amd_gpu_agent.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/projects/rocr-runtime/runtime/hsa-runtime/core/runtime/amd_gpu_agent.cpp b/projects/rocr-runtime/runtime/hsa-runtime/core/runtime/amd_gpu_agent.cpp index 8ac921b824..5b27486ddc 100644 --- a/projects/rocr-runtime/runtime/hsa-runtime/core/runtime/amd_gpu_agent.cpp +++ b/projects/rocr-runtime/runtime/hsa-runtime/core/runtime/amd_gpu_agent.cpp @@ -1164,11 +1164,6 @@ void GpuAgent::BindTrapHandler() { return; } - // Disable trap handler on APUs until KFD is fixed. - if (profile_ == HSA_PROFILE_FULL) { - return; - } - // Assemble the trap handler source code. AssembleShader("TrapHandler", AssembleTarget::ISA, trap_code_buf_, trap_code_buf_size_);