Skip to content

Conversation

@aarongreig
Copy link
Contributor

@aarongreig aarongreig commented Aug 14, 2024

On a fallback path used when the clGetKernelSubGroupInfo query isn't supported the adapter tries the UR_DEVICE_INFO_SUB_GROUP_SIZES_INTEL device info query via urDeviceGetInfo. It currently assumes the type returned by that query is size_t, this patch corrects that to uint32_t.

@aarongreig aarongreig requested a review from a team as a code owner August 14, 2024 14:27
@aarongreig aarongreig added the v0.10.x Include in the v0.10.x release label Aug 14, 2024
@aarongreig
Copy link
Contributor Author

LLVM PR intel/llvm#15074

@aarongreig aarongreig force-pushed the aaron/fixSubGroupMaxSizeAssert branch 2 times, most recently from ecc855e to f61577c Compare August 15, 2024 09:26
@omarahmed1111
Copy link
Contributor

@aarongreig is the intel/llvm failures related, I don't think it does, but just confirming with you?

@aarongreig
Copy link
Contributor Author

No, they're level zero fails and this only touches the CL adapter. I'll push just now and hopefully they go away.

@aarongreig aarongreig force-pushed the aaron/fixSubGroupMaxSizeAssert branch from f61577c to 3c34eeb Compare August 19, 2024 09:12
@kbenzie kbenzie added the ready to merge Added to PR's which are ready to merge label Aug 19, 2024
On a fallback path used when the clGetKernelSubGroupInfo query isn't
supported the adapter tries the UR_DEVICE_INFO_SUB_GROUP_SIZES_INTEL
device info query via urDeviceGetInfo. It currently assumes the type
returned by that query is size_t, this patch corrects that to uint32_t.
@omarahmed1111 omarahmed1111 force-pushed the aaron/fixSubGroupMaxSizeAssert branch from 3c34eeb to 0a1ed83 Compare August 19, 2024 11:22
@omarahmed1111 omarahmed1111 merged commit a96fcbc into oneapi-src:main Aug 19, 2024
kbenzie pushed a commit that referenced this pull request Aug 20, 2024
Fix CL adapter assuming incorrect type for sub group query.
@kbenzie kbenzie mentioned this pull request Aug 20, 2024
53 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready to merge Added to PR's which are ready to merge v0.10.x Include in the v0.10.x release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants