koparasy · GitHub

* There is still room for improvement and reuse quite some of the
  existing baseclass Action capabilities
Output looks like this:
                     +- 0: input, "vecadd.cu", hip, (host-hip)
                  +- 1: preprocessor, {0}, hip-cpp-output, (host-hip)
               +- 2: compiler, {1}, cir, (host-hip)
               |     +- 3: input, "vecadd.cu", hip, (device-hip, gfx942)
               |  +- 4: preprocessor, {3}, hip-cpp-output, (device-hip, gfx942)
               |- 5: compiler, {4}, cir, (device-hip, gfx942)
            +- 6: comebinecir, "host-hip (x86_64-unknown-linux-gnu)" {2}, "device-hip (amdgcn-amd-amdhsa:gfx942)" {5}, cir
         +- 7: splitcir, {6}, cir, (host-hip)
         |              +- 8: splitcir, {6}, cir, (device-hip, gfx942)
         |           +- 9: backend, {8}, assembler, (device-hip, gfx942)
         |        +- 10: assembler, {9}, object, (device-hip, gfx942)
         |     +- 11: linker, {10}, image, (device-hip, gfx942)
         |  +- 12: offload, "device-hip (amdgcn-amd-amdhsa:gfx942)" {11}, image
         |- 13: linker, {12}, hip-fatbin, (device-hip)
      +- 14: offload, "host-hip (x86_64-unknown-linux-gnu)" {7}, "device-hip (amdgcn-amd-amdhsa)" {13}, cir
   +- 15: backend, {14}, assembler, (host-hip)
+- 16: assembler, {15}, object, (host-hip)
17: linker, {16}, image, (host-hip)

Read the original on github.com ↗