Skip to content

Conversation

@martygrant
Copy link
Contributor

@martygrant martygrant commented Nov 14, 2024

In urDevicePartition in the OpenCL adapter we loop through the array of properties but were not actually indexing into the array, only using the first element of the array.

Also added a new CTS test to verify this behaviour.

intel/llvm#16083

@martygrant martygrant marked this pull request as ready for review November 14, 2024 11:47
@martygrant martygrant requested a review from a team as a code owner November 14, 2024 11:48
@martygrant martygrant added the ready to merge Added to PR's which are ready to merge label Nov 14, 2024
@alycm
Copy link
Contributor

alycm commented Nov 14, 2024

Is it possible to have some kind of CTS or regression test for this?

@martygrant
Copy link
Contributor Author

@alycm I think that would be possible, I can make an issue to come back later and create one, or would you prefer it is done in this PR?

@martygrant martygrant removed the ready to merge Added to PR's which are ready to merge label Nov 20, 2024
Add new CTS test to check valid counts and ordering.
@martygrant martygrant force-pushed the martin/fixDevicePartitionOpenCL branch from 640bd26 to 1f68788 Compare November 21, 2024 17:14
@martygrant martygrant requested a review from a team as a code owner November 21, 2024 17:14
@github-actions github-actions bot added conformance Conformance test suite issues. opencl OpenCL adapter specific issues labels Nov 21, 2024
@martygrant
Copy link
Contributor Author

@alycm added a CTS test for this

@martygrant martygrant added the ready to merge Added to PR's which are ready to merge label Nov 22, 2024
@callumfare callumfare merged commit b0f9293 into oneapi-src:main Nov 22, 2024
74 of 75 checks passed
martygrant added a commit to intel/llvm that referenced this pull request Nov 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

conformance Conformance test suite issues. opencl OpenCL adapter specific issues ready to merge Added to PR's which are ready to merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants