Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[stream_executor:host] Add HostExecutionEngine #66300

Merged
merged 1 commit into from
May 7, 2024

Conversation

copybara-service[bot]
Copy link

[stream_executor:host] Add HostExecutionEngine

This is a part of the ongoing effort openxla/xla#7234
Add:

  • RuntimeExecutionEngine class which compiles LLVM IR into kernel. This is a simplified copy-paste from runtime/execution_engine
  • HostExecutionEngine virtual base class which contains JIT-compiled function.
  • LlvmExecutionEngine, which uses two classes above to compile LLVM IR and store result.
  • Dummy CppExecutionEngine for kernels written in C++ and precompiled together with XLA.
  • HostKernelTest.LlvmAddition test which verifies only compilation (for now).

Copy link

google-cla bot commented Apr 23, 2024

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

This is a part of the ongoing effort openxla/xla#7234
Add:
- RuntimeExecutionEngine class which compiles LLVM IR into kernel. This is a simplified copy-paste from runtime/execution_engine
- HostExecutionEngine virtual base class which contains JIT-compiled function.
- LlvmExecutionEngine, which uses two classes above to compile LLVM IR and store result.
- Dummy CppExecutionEngine for kernels written in C++ and precompiled together with XLA.
- HostKernelTest.LlvmAddition test which verifies only compilation (for now).
PiperOrigin-RevId: 631506020
@copybara-service copybara-service bot closed this May 7, 2024
@copybara-service copybara-service bot deleted the exported_pr_621884108 branch May 7, 2024 19:35
@copybara-service copybara-service bot merged commit 15f8f10 into master May 7, 2024
3 of 5 checks passed
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.

None yet

1 participant