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

cl_khr_extended_async_copies is missing SPIR-V extension #154

Open
FranklandJack opened this issue Jul 11, 2022 · 0 comments
Open

cl_khr_extended_async_copies is missing SPIR-V extension #154

FranklandJack opened this issue Jul 11, 2022 · 0 comments

Comments

@FranklandJack
Copy link

The OpenCL cl_khr_extended_async_copies extension is missing a corresponding SPIR-V extension.

OpGroupAsyncCopy exists and can be mapped to the CL C async_work_group_strided_copy buitlin, but for the 2D - 2D and 3D - 3D variants defined in cl_khr_extended_async_copies there are no corresponding SPIR-V instructions (OpGroupAsyncCopy doesn't support enough parameters for the source and destination offsets and strides in the CL C extension).

I guess we'd probably want two new instructions corresponding to the two builtins introduced in the OpenCL extension, something like OpGroupAsyncCopy2D and OpGroupAsyncCopy3D taking parameters analogous to async_work_group_copy_2D2D and async_work_group_copy_3D3D

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

No branches or pull requests

1 participant