Skip to content

Tag kernel with accelerator attr for optional lowering#17

Merged
tancheng merged 7 commits intomainfrom
llvm_for_lower
May 22, 2025
Merged

Tag kernel with accelerator attr for optional lowering#17
tancheng merged 7 commits intomainfrom
llvm_for_lower

Conversation

@tancheng
Copy link
Copy Markdown
Contributor

@tancheng tancheng commented May 20, 2025

  • Kernels except main are tagged
  • All ops within a typical for loop are supported/lowered

TODO:

  • Mov needs to handle terminate node and backward
  • Interpreter needs to support all ops within the typical for loop

@tancheng tancheng self-assigned this May 20, 2025
@tancheng tancheng added the new feature New feature or request label May 20, 2025
@tancheng tancheng merged commit ff914bc into main May 22, 2025
1 check passed
ShangkunLi pushed a commit that referenced this pull request Mar 12, 2026
Tag kernel with accelerator attr for optional lowering
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

new feature New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[P0] Add attribute on the func op to indicate what should be run on CPU and accelerator

2 participants