Shore
Shore

Reputation: 1033

How to debug Triton Python, especially Triton-JIT compiler passes?

I would like to do the following:

  1. Build triton Python (which run from Python script):
    • Into specific directory
    • Build all cpp files with debug symbol
    • LLVM which used by triton should also be built with debug symbols
  2. Run a Python file to debug:
    • Related Python script
    • Called cpp functions or objects could be debugged by GDB

I have searched the internet but cannot find related tutorials or guidance; thus. I would like to ask if anyone knows how to do this.

Upvotes: 0

Views: 381

Answers (0)

Related Questions