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

Support custom structure types #5

Open
trbauer opened this issue Dec 10, 2018 · 0 comments
Open

Support custom structure types #5

trbauer opened this issue Dec 10, 2018 · 0 comments
Labels
enhancement New feature or request

Comments

@trbauer
Copy link
Owner

trbauer commented Dec 10, 2018

From the CL Code

struct vec3 {
float x, y, z;
};

kernel void normalize(global vec3 *vs)
{
....
}

In call unify with record initializer.

...`foo<...>({1,2,3}:rw)

@trbauer trbauer added the enhancement New feature or request label Dec 10, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant