iree: Can not translate a MLIR file to IREE module when setting `-DIREE_ENABLE_RUNTIME_TRACING=ON`

To repro:

Run: iree-translate --iree-mlir-to-vm-bytecode-module --iree-hal-target-backends=dylib-llvm-aot iree/test/e2e/xla_ops/add.mlir --iree-input-type=mhlo -o /tmp/a.vmfb

Error log: https://gist.githubusercontent.com/hanhanW/8659c6fea28b51d0b60d59e0d49ede49/raw

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 19 (7 by maintainers)

Commits related to this issue

Most upvoted comments

making the stack thread_local works: image

testing a bit more then can send a PR

Nope, zones can’t cross threads. You’ll need to either make the stack thread_local or stash the stacks by pass|op and look them up.