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

async_invalid_dimensions uses invalid dimension #17

Open
tomiaijo opened this issue Nov 27, 2016 · 0 comments
Open

async_invalid_dimensions uses invalid dimension #17

tomiaijo opened this issue Nov 27, 2016 · 0 comments

Comments

@tomiaijo
Copy link
Collaborator

See test_async_invalid_dimensions.c:92. The width of the dimension field in hsa_packet_header_t is HSA_KERNEL_DISPATCH_PACKET_SETUP_WIDTH_DIMENSIONS(= 2) bits. Since HSA_KERNEL_DISPATCH_PACKET_SETUP_DIMENSIONS is zero, the tests sets the third bit up (4 = 0x100) which does not relate to the dimension field at all. There is no way to set dimension greater than 3.

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