Skip to content

Ascend - #65

Merged
Hchnr merged 7 commits into
mainfrom
ascend
Jun 2, 2026
Merged

Ascend#65
Hchnr merged 7 commits into
mainfrom
ascend

Conversation

@Hchnr

@Hchnr Hchnr commented Jun 2, 2026

Copy link
Copy Markdown
Owner

No description provided.

Hchnr added 7 commits June 1, 2026 14:54
…ream files

- Rename FlagOS_GetCurrentStream → GetCurrentStream (extern C API)
- Move flagos_stream_api.cc → runtime/accelerator/ascend/stream_api.cc
- Move acl_stream.h → runtime/accelerator/ascend/acl_stream.h
- Rename CMake target flagos_stream → stream_api
- Rename global_flagos_alloc → global_device_alloc
- Update libflagos_stream.so → libstream_api.so in Python loader
triton-ascend JIT-compiles launcher .so files that reference c10/ATen
symbols without linking libc10.so via DT_NEEDED. Load libc10.so,
libtorch.so, libtorch_cpu.so with RTLD_GLOBAL so these symbols are
visible when the launcher is dlopen'd.
@Hchnr
Hchnr merged commit 7504282 into main Jun 2, 2026
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant