-
Notifications
You must be signed in to change notification settings - Fork 769
memadvise.cpp test fails on CUDA BE after #3365 #3553
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
Comments
@vladimirlaz, I expect 3269c47 to fix this bug. Could you check, please? |
according to postcommit testing for the commit. The test is still failing but fail symptoms changed to:
|
@nyalloc, does this test work for you? |
Memadvise test is not correct. The value passed into memadvise is backend-specific, this test assumes 0 is a valid value. For CUDA this is not the case. The valid values for CUDA are 1 through 6. I think it would be a good idea to modify these tests so that the enumerations passed to memadvise are driven through the preprocessor, so if the tests are targetting CUDA, pass one of the valid enumerations for CUDA, if if the tests are targetting OpenCL, pass one of the valid enumerations for OpenCL, etc. |
@nyalloc, thanks for sharing this insight. @vladimirlaz, could you update the test, please? |
No problem |
Fixed in intel/llvm-test-suite#240 |
Describe the bug
intel/llvm-test-suite/blob/intel/SYCL/USM/memadvise.cpp test start to fail with the following output:
To Reproduce
The problem can be reproduced following instructions under https://github.com/intel/llvm-test-suite/blob/intel/SYCL/README.md
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: