0
Fork 0
mirror of https://github.com/zml/zml.git synced 2026-11-16 19:11:09 +00:00
zml/examples/.vscode
Steeve Morin be510cbb6b
bazel,runtimes/rocm: use dynamic symbol import renaming (#70)
Currently, in ROCm, we use
`__attribute__((ifunc("_zml_rocm_resolve_dlopen")))` to make sure
`dlsym(RTLD_NEXT, "dlopen")` will resolve to the real `dlopen` and not
the always failing stub.

This is a bit brittle.

Instead, leverage `patchelf`'s `rename_dynamic_symbols` feature to
import a custom `dlopen` implementation, and forward to the real one
normally.
History 2024-11-01 17:33:57 +01:00
..
extensions.json zml: initial release 2024-09-17 11:11:18 +02:00
settings.json bazel,runtimes/rocm: use dynamic symbol import renaming (#70) 2024-11-01 17:33:57 +01:00