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

[aot] Support return in vulkan aot #4593

Merged
merged 1 commit into from
Mar 21, 2022

Conversation

ailzhang
Copy link
Contributor

Vulkan aot return didn't work since it was trying to serialize
Datatype which was a raw pointer. This PR fixes the issue by changing
it to a PrimitiveTypeID which is a int. Note it's possible that we
limit Kernel args and rets to be primitive types only but leaving that
to a followup PR to avoid making this PR too complicated.

Related issue = #

Vulkan aot return didn't work since it was trying to serialize
`Datatype` which was a raw pointer. This PR fixes the issue by changing
it to a `PrimitiveTypeID` which is a `int`. Note it's possible that we
limit general `Kernel` args and rets to be primitive types only but leaving that
to a followup PR to avoid making this PR too complicated.
@ailzhang ailzhang requested a review from ghuau-innopeak March 21, 2022 12:06
@netlify
Copy link

netlify bot commented Mar 21, 2022

✅ Deploy Preview for docsite-preview ready!

🔨 Explore the source changes: aff5aca

🔍 Inspect the deploy log: https://app.netlify.com/sites/docsite-preview/deploys/62386a549c45ef0009e05b73

😎 Browse the preview: https://deploy-preview-4593--docsite-preview.netlify.app

@ailzhang ailzhang requested review from k-ye, bobcao3 and qiao-bo March 21, 2022 12:06
Copy link
Member

@k-ye k-ye left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@ailzhang ailzhang merged commit f2f79d6 into taichi-dev:master Mar 21, 2022
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.

2 participants