-
Notifications
You must be signed in to change notification settings - Fork 146
[CIR][CodeGen] Basic skeleton of SPIRV64 target support #671
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @seven-mile, thanks for adding this! This is touching a bunch of the things @sitio-couto is working on right now, and it'd be extremely unfortunate if this is all has to be done differently in a few weeks from now. Please coordinate between the two of you how to make sure you don't duplicate work. I'll wait until he can take a look before I give more feedback
I tried to make the part about ABI as minimal as possible so that some test cases in OpenCL can land. The ABI implementation is just using |
Direct is fine, but extend might be doing more that it should for now, let's wait on @sitio-couto to coordinate how to go about this so you both are in sync. |
@sitio-couto review ping! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@bcardosolopes @seven-mile reviewed.
PS: apologies for the late review 😅
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit changes from @sitio-couto, but other than that seems fine - @sitio-couto will patch this up once he lands his work
Co-authored-by: Vinicius Couto Espindola <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
* SPIRV64 TargetInfo * Calling convention `SPIR_KERNEL` * Minimal ABI with Direct/Extend for arguments and Ignore for return --------- Co-authored-by: Vinicius Couto Espindola <[email protected]>
* SPIRV64 TargetInfo * Calling convention `SPIR_KERNEL` * Minimal ABI with Direct/Extend for arguments and Ignore for return --------- Co-authored-by: Vinicius Couto Espindola <[email protected]>
* SPIRV64 TargetInfo * Calling convention `SPIR_KERNEL` * Minimal ABI with Direct/Extend for arguments and Ignore for return --------- Co-authored-by: Vinicius Couto Espindola <[email protected]>
* SPIRV64 TargetInfo * Calling convention `SPIR_KERNEL` * Minimal ABI with Direct/Extend for arguments and Ignore for return --------- Co-authored-by: Vinicius Couto Espindola <[email protected]>
* SPIRV64 TargetInfo * Calling convention `SPIR_KERNEL` * Minimal ABI with Direct/Extend for arguments and Ignore for return --------- Co-authored-by: Vinicius Couto Espindola <[email protected]>
* SPIRV64 TargetInfo * Calling convention `SPIR_KERNEL` * Minimal ABI with Direct/Extend for arguments and Ignore for return --------- Co-authored-by: Vinicius Couto Espindola <[email protected]>
SPIR_KERNEL