Skip to content

Enable (almost) all conformance test on PVC for L0 #2223

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

Merged
merged 6 commits into from
Oct 30, 2024

Conversation

igchor
Copy link
Member

@igchor igchor commented Oct 18, 2024

Fix urEnqueueKernelLaunchUSMLinkedList by providing required alignment and calling urKernelSetExecInfo.

Also, skip InvalidKernelArgs for L0 as L0
cannot check kernel arguments.

@github-actions github-actions bot added ci/cd Continuous integration/devliery conformance Conformance test suite issues. labels Oct 18, 2024
GTEST_FAIL() << "AMD and Nvidia can't check kernel arguments.";
backend == UR_PLATFORM_BACKEND_HIP ||
backend == UR_PLATFORM_BACKEND_LEVEL_ZERO) {
GTEST_FAIL() << "AMD, L0 and Nvidia can't check kernel arguments.";
Copy link
Contributor

Choose a reason for hiding this comment

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

sooo... this is a native cpu adapter test then?:D

Copy link
Member Author

Choose a reason for hiding this comment

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

Yeah, I guess. Tbh, I don't know if there are any plans to add support for that for other backends.

@igchor igchor changed the title [CTS] fix 2 errors in urEnequeuKernelLaunch on PVC Enable (almost) all conformance test on PVC for L0 Oct 23, 2024
@github-actions github-actions bot added the level-zero L0 adapter specific issues label Oct 23, 2024
@igchor igchor marked this pull request as ready for review October 23, 2024 01:11
@igchor igchor requested review from a team as code owners October 23, 2024 01:11
@igchor igchor force-pushed the enqueue_usm branch 8 times, most recently from 4571524 to 76ee4d0 Compare October 24, 2024 22:57
@igchor
Copy link
Member Author

igchor commented Oct 24, 2024

There are a few new test failures (random) for the legacy L0 adapter after recent in cts_exe (most likely a driver issue). I'm wondering if we should add some matches for a specific devices (PVC)?

@pbalcer
Copy link
Contributor

pbalcer commented Oct 29, 2024

There are a few new test failures (random) for the legacy L0 adapter after recent in cts_exe (most likely a driver issue). I'm wondering if we should add some matches for a specific devices (PVC)?

Yeah, generally if a feature is unsupported the test should skip the test, not fail. This should take care of expected platform differences. However, if there are some bugs that occur only on one platform, then yes, we should add matches with OPT.

Fix urEnqueueKernelLaunchUSMLinkedList by providing
required alignment and calling urKernelSetExecInfo.

Also, skip InvalidKernelArgs for L0 as L0
cannot check kernel arguments.
and return appropriate error from urKernelSetArgValue
@igchor
Copy link
Member Author

igchor commented Oct 29, 2024

There are a few new test failures (random) for the legacy L0 adapter after recent in cts_exe (most likely a driver issue). I'm wondering if we should add some matches for a specific devices (PVC)?

Yeah, generally if a feature is unsupported the test should skip the test, not fail. This should take care of expected platform differences. However, if there are some bugs that occur only on one platform, then yes, we should add matches with OPT.

Done.

Copy link
Contributor

@pbalcer pbalcer left a comment

Choose a reason for hiding this comment

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

lgtm, except for the fix to p2p. someone will have to fix the conflict.

@pbalcer pbalcer merged commit 73e54a0 into oneapi-src:main Oct 30, 2024
74 of 77 checks passed
@igchor igchor deleted the enqueue_usm branch October 30, 2024 15:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci/cd Continuous integration/devliery conformance Conformance test suite issues. level-zero L0 adapter specific issues
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants