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

Static type checking of device types #2

Open
ProGTX opened this issue May 17, 2015 · 0 comments
Open

Static type checking of device types #2

ProGTX opened this issue May 17, 2015 · 0 comments

Comments

@ProGTX
Copy link
Owner

ProGTX commented May 17, 2015

This would require carrying type information in the data reference class, most likely a template parameter.

e.g. prevent int3 * int8 from being valid.

At the moment, this would only cause an error on kernel compilation (during SYCL runtime), but it would be preferable to cause an error at C++ compile time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant