Skip to content

Fujun.han/multi vendor support#345

Open
Peter9606 wants to merge 5 commits intoROCm:mainfrom
Deep-Spark:fujun.han/multi-vendor-support
Open

Fujun.han/multi vendor support#345
Peter9606 wants to merge 5 commits intoROCm:mainfrom
Deep-Spark:fujun.han/multi-vendor-support

Conversation

@Peter9606
Copy link
Copy Markdown
Contributor

…e to lib/Runtime

- Introduce cmake/FlyDSLTargetStack.cmake (cache + rocdl descriptor fields).
- Build FlyJitRuntime from lib/Runtime; Python CMake sets output dir under _mlir_libs.

Made-with: Cursor
Signed-off-by: Fujun Han <fujun.han@iluvatar.com>
… descriptor

- Add FlyRegisterEverything.cpp.in and configure_file into the build tree.
- Drive EMBED_CAPI_LINK_LIBS from FLYDSL_REGISTER_EMBED_CAPI_LINK_LIBS in
  cmake/FlyDSLTargetStack.cmake (rocdl row).

Made-with: Cursor
Signed-off-by: Fujun Han <fujun.han@iluvatar.com>
- Conditionally add FlyROCDL / FlyToROCDL / Runtime subtrees in include/ and lib/.
- fly-opt: conditional links and FLYDSL_HAS_ROCDL_TARGET_STACK; guard Passes.h.
- MLIRCPIFlyROCDL: define FLYDSL_HAS_ROCDL_TARGET_STACK for Conversion/Passes.h.
- python/mlir_flydsl: gate FlyROCDL bindings, stubgen, tablegen copies, FlyJitRuntime hookup.

Made-with: Cursor
Signed-off-by: Fujun Han <fujun.han@iluvatar.com>
- Generate flydsl/_build_config.py from cmake/FlyDSLBuildConfig.py.in; copy into
  python_packages during CopyFlyPythonSources.
- FLYDSL_BUILD_CONFIG_* in FlyDSLTargetStack (rocdl row) drive allow-lists.
- _install_limits + checks in get_backend and ensure_compile_runtime_pairing_from_env.
- Document stack bring-up in ADDING_TARGET_STACK.md (pointer in FlyDSLTargetStack).

Made-with: Cursor
Signed-off-by: Fujun Han <fujun.han@iluvatar.com>
@Peter9606 Peter9606 force-pushed the fujun.han/multi-vendor-support branch from ffcac9b to d0152f9 Compare April 7, 2026 00:16
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