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

[type] Support basic custom int/float types on metal #2145

Merged
merged 11 commits into from
Jan 9, 2021

Conversation

k-ye
Copy link
Member

@k-ye k-ye commented Jan 6, 2021

Hi, sorry for this huge PR! I don't think this is very urgent, so long as we can benchmark the performance on macs now.. Please take your time. Also, most of the implementation is kind of a direct translation from LLVM, so hopefully this already seems familiar to you :)

Related issue = #1905

[Click here for the format server]


taichi/backends/metal/codegen_metal.cpp Outdated Show resolved Hide resolved
taichi/backends/metal/shaders/prolog.h Outdated Show resolved Hide resolved
taichi/backends/metal/codegen_metal.cpp Outdated Show resolved Hide resolved
@k-ye k-ye requested review from yuanming-hu and TH3CHARLie January 7, 2021 11:32
@k-ye k-ye marked this pull request as ready for review January 7, 2021 11:49
Copy link
Member

@yuanming-hu yuanming-hu left a comment

Choose a reason for hiding this comment

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

Great! To be honest, I only took a very rough pass (especially rough on the Metal part), but I trust whatever you wrote :-)

Thanks!

@yuanming-hu
Copy link
Member

Let me merge this for quant API changes.

@yuanming-hu yuanming-hu merged commit 210b212 into taichi-dev:master Jan 9, 2021
@k-ye k-ye mentioned this pull request Feb 4, 2021
@k-ye k-ye deleted the mtl-custom-types branch June 11, 2021 06:19
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.

3 participants