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 a unified SVM consistency check test #2174

Open
wants to merge 3 commits into
base: cl_khr_unified_svm
Choose a base branch
from

Conversation

bashbaug
Copy link
Contributor

Adds a unified SVM consistency check test, as per the description in #2150.

Note that the target branch for this PR is the cl_khr_unified_svm branch, not the main branch.

@bashbaug
Copy link
Contributor Author

Hmm, the CI build checks are going to fail unless we update the scripts to pull the headers from KhronosGroup/OpenCL-Headers#269.

@bashbaug
Copy link
Contributor Author

I've updated the test as we discussed.

I also pulled in the CI changes so the unified SVM headers are used, and now the automated builds are working again.


REGISTER_TEST(unified_svm_consistency)
{
if (!is_extension_available(deviceID, "cl_khr_unified_svm"))
Copy link
Contributor

Choose a reason for hiding this comment

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

I've not been following the unified svm test plan closely, but is the idea that the extension tests will live in test_conformance/SVM rather than test_conformance/extensions/cl_khr_unified_svm?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good question. I don't think we've discussed this. I'll create a new test executable if that's what the group prefers, but I think we've generally tried to minimize test executables, so I'm inclined to put the unified SVM tests here unless we have a good reason to do otherwise.

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.

2 participants