AnsweredAssumed Answered

HSA runtime: support for exceptions

Question asked by marxin on Aug 3, 2015
Latest reply on Aug 10, 2015 by jedwards



Official Github repository HSA-Runtime-AMD enumerates unimplemented functionality of the runtime.

To make debugging easier, we would really appreciate to support debugtrap instruction and exception

operations. It's quite common for me to generate a wrong code which generates a page fault.




[ 141.583810] AMD-Vi: Event logged [IO_PAGE_FAULT device=00:01.0 domain=0x0003 address=0x0000000000000c40 flags=0x0005]

[ 143.586801] kfd: qcm fence wait loop timeout expired


It would really help us if were are notified about an instruction which produces the exception.

When do you plan to implement these features?


Thank you,