-
Notifications
You must be signed in to change notification settings - Fork 283
Add CoopVec load/store pointer overloads #6822
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
base: master
Are you sure you want to change the base?
Conversation
int32_t* ptr; | ||
} | ||
|
||
//TEST_INPUT:ubuffer(data=[1 2 3 4 5 6 7 8], stride=4),name=buf |
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.
ptr isn't initialized with anything that is actually valid to read/write to.
TEST_INPUT allows you to assign a ubuffer
to a pointer value, can you try that instead and turn this into an executable test?
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.
e.g.
//TEST_INPUT: set pObj = ubuffer(data=[2 0 0 0], stride=4);
uniform Obj* pObj;
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.
Thanks - is it possible to have these as output?
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.
Should be? I haven’t tried that yet…
No description provided.