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

Support for tosa.custom_op operations. #58

Merged
merged 1 commit into from
Jun 1, 2023

Conversation

ttjost
Copy link

@ttjost ttjost commented Jun 1, 2023

Adding all of you so that you are aware of this in case we need to implement a tosa.custom_op for other unsupported operations.

This will lower a tosa unsupported operation to something like:
"tosa.custom"(%arg0, %arg1) <{config = "UNDEF", identifier = "atan2", implementation_attrs = "UNDEF"}> : (tensor<?x?xf32>, tensor<?x?xf32>) -> tensor<?x?xf32>
We are mostly interest in the identifier attribute. Other could be set later if necessary, but I don't think we need them for now.

The PR includes an LLVM bump, but I'll make sure to update it again once the PR in the llvm-project is approved.

externals/llvm-project Outdated Show resolved Hide resolved
@mgehre-amd mgehre-amd merged commit cbeda16 into feature/misc_fixes Jun 1, 2023
@mgehre-amd mgehre-amd deleted the tiagot.custom_op_support branch June 1, 2023 10:36
@mgehre-amd mgehre-amd mentioned this pull request Jun 5, 2023
51 tasks
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.

4 participants