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

[vulkan] Support texture type args in aot add_kernel #6796

Merged
merged 1 commit into from
Dec 6, 2022

Conversation

ailzhang
Copy link
Contributor

@ailzhang ailzhang commented Dec 2, 2022

Issue: #

Brief Summary

ti.types.texture has been a template type so I didn't change that in this PR. But in the future TextureType may support args other than num_dimensions so that users can provide all necessary info in the type hint. But that's out of scope for this PR.

This PR just added support for texture type args in aot add_kernel so that it can be used in AOT without cgraph, and it worth noticing that you're currently required to provide a template_args for texture type. But since we require enough info in rw_texture type annotation, you don't need to provide any template_args for rw_texture type.

@netlify
Copy link

netlify bot commented Dec 2, 2022

Deploy Preview for docsite-preview ready!

Name Link
🔨 Latest commit 44ad637
🔍 Latest deploy log https://app.netlify.com/sites/docsite-preview/deploys/6389dd7f04d201000918659a
😎 Deploy Preview https://deploy-preview-6796--docsite-preview.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

Copy link
Member

@PENGUINLIONG PENGUINLIONG left a comment

Choose a reason for hiding this comment

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

thank you! 🤩

@ailzhang ailzhang merged commit 9d68770 into taichi-dev:master Dec 6, 2022
@ailzhang ailzhang deleted the add_kernel_texture branch December 6, 2022 06:54
quadpixels pushed a commit to quadpixels/taichi that referenced this pull request May 13, 2023
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