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

Add parameterization to USM alloc tests for testing pools. #768

Merged
merged 2 commits into from
Aug 4, 2023

Conversation

aarongreig
Copy link
Contributor

Also fix a couple of minor issues in tests:

  • check correct code for invalid size in GetMemAllocInfo test
  • fix shadowing in urUSMPoolTestWithParam fixture
  • ensure we allocate with a pool for UR_USM_ALLOC_INFO_POOL GetMemAllocInfo test

Addresses #738

Copy link
Contributor

@omarahmed1111 omarahmed1111 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

test/conformance/testing/CMakeLists.txt Show resolved Hide resolved
test/conformance/testing/include/uur/fixtures.h Outdated Show resolved Hide resolved
Also fix a couple of minor issues in tests:
* check correct code for invalid size in GetMemAllocInfo test
* fix shadowing in urUSMPoolTestWithParam fixture
* ensure we allocate with a pool for UR_USM_ALLOC_INFO_POOL
  GetMemAllocInfo test
… test

Instead this is now a separate case in USMPoolCreate

Also zero initialize pools in pool fixture
@aarongreig aarongreig merged commit a898ec9 into oneapi-src:main Aug 4, 2023
24 checks passed
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

Successfully merging this pull request may close these issues.

4 participants