Revert "trap_handler: Set status.skip_export when halting a wave"
This reverts commit4c8a849772. This change is required for the runtime to generate reliable core dump files, but this feature has been disabled for now by816b46868a. Until it is needed, revert the ABI change in the trap handler to maintain compatibility with older debugger. Change-Id: I77a1562dc7962befe2bf88442df858e2d2b1c5ab [ROCm/ROCR-Runtime commit:6f828d8609]
Этот коммит содержится в:
коммит произвёл
David Yat Sin
родитель
ff2c3dfcca
Коммит
9317d0fbc0
@@ -81,10 +81,8 @@ __attribute__((noinline)) static void _loader_debug_state() {
|
||||
// 6: New trap handler ABI. ttmp6[25:0] contains dispatch index modulo queue size
|
||||
// 7: New trap handler ABI. Send interrupts as a bitmask, coalescing concurrent exceptions.
|
||||
// 8: New trap handler ABI. for gfx940: Initialize ttmp[4:5] if ttmp11[31] == 0.
|
||||
// 9: New trap handler ABI. For gfx11: Save PC in ttmp11[22:7] ttmp6[31:0], and park the wave if stopped.
|
||||
// 10: New trap handler ABI. Set status.skip_export when halting the wave.
|
||||
// For gfx940, set ttmp6[31] = 0 if ttmp11[31] == 0.
|
||||
HSA_API r_debug _amdgpu_r_debug = {10,
|
||||
// 9: New trap handler API. For gfx11: Save PC in ttmp11[22:7] ttmp6[31:0], and park the wave if stopped.
|
||||
HSA_API r_debug _amdgpu_r_debug = {9,
|
||||
nullptr,
|
||||
reinterpret_cast<uintptr_t>(&_loader_debug_state),
|
||||
r_debug::RT_CONSISTENT,
|
||||
|
||||
Ссылка в новой задаче
Block a user