-
Notifications
You must be signed in to change notification settings - Fork 120
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
Restructure GetInfo CTS tests to use separate tests instead of a switch #2290
Labels
conformance
Conformance test suite issues.
Comments
isaacault
added a commit
to isaacault/unified-runtime
that referenced
this issue
Dec 10, 2024
* Separate parameterized tests. Progresses oneapi-src#2290. * urKernelGetGroupInfo CompileWorkGroupSize test modified to use distinct dimensions. * urKernelSetArgPointer no longer returns invalid argument size. * Testcases added: * urKernelGetGroupInfo CompileMaxWorkGroupSize * urKernelGetGroupInfo CompileMaxLinearWorkGroupSize * urKernelGetSubGroupInfo CompileNumSubGroups * urKernelRetain CheckReferenceCount * urKernelRelease CheckReferenceCount * urKernelSetArgMemObj InvalidEnumeration
martygrant
added a commit
to martygrant/unified-runtime
that referenced
this issue
Dec 12, 2024
- Rework urDeviceGetInfoTest to move all enums to their own tests instead of a switch case (oneapi-src#2290) - Remove the UR/OpenCL enum map function - no point maintaining both a switch case and a separate mapping function - Update some spec wording for consistency - Add missing info enums to OpenCL adapater - Add new urDevicePartition test for checking UR_DEVICE_INFO_PARENT_DEVICE
isaacault
added a commit
to isaacault/unified-runtime
that referenced
this issue
Dec 13, 2024
* Separate parameterized tests. Progresses oneapi-src#2290. * urKernelGetGroupInfo CompileWorkGroupSize test modified to use distinct dimensions. * urKernelSetArgPointer no longer returns invalid argument size. * Testcases added: * urKernelGetGroupInfo CompileMaxWorkGroupSize * urKernelGetGroupInfo CompileMaxLinearWorkGroupSize * urKernelGetSubGroupInfo CompileNumSubGroups * urKernelRetain CheckReferenceCount * urKernelRelease CheckReferenceCount * urKernelSetArgMemObj InvalidEnumeration
isaacault
added a commit
to isaacault/unified-runtime
that referenced
this issue
Dec 16, 2024
* Separate parameterized tests. Progresses oneapi-src#2290. * urKernelGetGroupInfo CompileWorkGroupSize test modified to use distinct dimensions. * urKernelSetArgPointer no longer returns invalid argument size. * Testcases added: * urKernelGetGroupInfo CompileMaxWorkGroupSize * urKernelGetGroupInfo CompileMaxLinearWorkGroupSize * urKernelGetSubGroupInfo CompileNumSubGroups * urKernelRetain CheckReferenceCount * urKernelRelease CheckReferenceCount * urKernelSetArgMemObj InvalidEnumeration
martygrant
added a commit
to martygrant/unified-runtime
that referenced
this issue
Dec 18, 2024
- Rework urDeviceGetInfoTest to move all enums to their own tests instead of a switch case (oneapi-src#2290) - Remove the UR/OpenCL enum map function - no point maintaining both a switch case and a separate mapping function - Update some spec wording for consistency - Add missing info enums to OpenCL adapater - Add new urDevicePartition test for checking UR_DEVICE_INFO_PARENT_DEVICE
martygrant
added a commit
to martygrant/unified-runtime
that referenced
this issue
Dec 18, 2024
- Rework urDeviceGetInfoTest to move all enums to their own tests instead of a switch case (oneapi-src#2290) - Remove the UR/OpenCL enum map function - no point maintaining both a switch case and a separate mapping function - Update some spec wording for consistency - Add missing info enums to OpenCL adapater - Add new urDevicePartition test for checking UR_DEVICE_INFO_PARENT_DEVICE
martygrant
added a commit
to martygrant/unified-runtime
that referenced
this issue
Dec 19, 2024
- Rework urDeviceGetInfoTest to move all enums to their own tests instead of a switch case (oneapi-src#2290) - Remove the UR/OpenCL enum map function - no point maintaining both a switch case and a separate mapping function - Update some spec wording for consistency - Add missing info enums to OpenCL adapater - Add new urDevicePartition test for checking UR_DEVICE_INFO_PARENT_DEVICE - Move UUR_RETURN_ON_FATAL_FAILURE and UUR_ASSERT_SUCCESS_OR_UNSUPPORTED to join similar macros in checks.h
This was referenced Dec 19, 2024
isaacault
added a commit
to isaacault/unified-runtime
that referenced
this issue
Jan 6, 2025
* Separate parameterized tests. Progresses oneapi-src#2290. * urKernelGetGroupInfo CompileWorkGroupSize test modified to use distinct dimensions. * urKernelSetArgPointer no longer returns invalid argument size. * Testcases added: * urKernelGetGroupInfo CompileMaxWorkGroupSize * urKernelGetGroupInfo CompileMaxLinearWorkGroupSize * urKernelGetSubGroupInfo CompileNumSubGroups * urKernelRetain CheckReferenceCount * urKernelRelease CheckReferenceCount * urKernelSetArgMemObj InvalidEnumeration
This was referenced Jan 6, 2025
isaacault
added a commit
to isaacault/unified-runtime
that referenced
this issue
Jan 8, 2025
* Separate parameterized tests. Progresses oneapi-src#2290. * urKernelGetGroupInfo CompileWorkGroupSize test modified to use distinct dimensions. * urKernelSetArgPointer no longer returns invalid argument size. * Testcases added: * urKernelGetGroupInfo CompileMaxWorkGroupSize * urKernelGetGroupInfo CompileMaxLinearWorkGroupSize * urKernelGetSubGroupInfo CompileNumSubGroups * urKernelRetain CheckReferenceCount * urKernelRelease CheckReferenceCount * urKernelSetArgMemObj InvalidEnumeration
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
As per #2272 (comment) most of the GetInfo CTS tests use a switch statement to test all of the possible info type enumerations (e.g. https://github.com/oneapi-src/unified-runtime/blob/main/test/conformance/context/urContextGetInfo.cpp#L43). It may be better that these are modified to be separate and individual tests.
The text was updated successfully, but these errors were encountered: