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

Failing unit tests related to clEnqueueSVMMemcpy on Intel GPU #818

Open
Kristian-Popov opened this issue Jan 24, 2019 · 0 comments
Open

Comments

@Kristian-Popov
Copy link
Contributor

To whom it may concern,

Some of unit tests fail on my setup, all failing tests are related to command_queue::enqueue_svm_memcpy() function. First GPU in my system (and default device for unit tests) is Intel(R) HD Graphics 630, I guess problems with implementation of clEnqueueSVMMemcpy are known (looking at this Twitter message by @jszuppe https://twitter.com/jszpp/status/736564025748795392 ). Unit tests related to that function are skipped using bug_in_svmmemcpy function, but it skips only on non-Windows OS's and AMD devices. Is there any reason why it is not skipped on Intel GPUs?
Detailed log of failing tests:

test_copy.exe
Running 15 test cases...
C:\Users\chris-pet-projects\Documents\boost-compute\include\boost/compute/command_queue.hpp(1693): fatal error: in "class boost::compute::event __cdecl boost::compute::command_queue::enqueue_svm_memcpy(void *,const void *,unsigned __int64,const class boost::compute::wait_list &)": class boost::exception_detail::clone_impl<struct boost::exception_detail::error_info_injector >: Invalid Value
C:\Users\chris-pet-projects\Documents\boost-compute\test\test_copy.cpp(341): last checkpoint: "copy_svm_ptr" test entry
C:\Users\chris-pet-projects\Documents\boost-compute\include\boost/compute/command_queue.hpp(1724): fatal error: in "class boost::compute::event __cdecl boost::compute::command_queue::enqueue_svm_memcpy_async(void *,const void *,unsigned __int64,const class boost::compute::wait_list &)": class boost::exception_detail::clone_impl<struct boost::exception_detail::error_info_injector >: Invalid Value
C:\Users\chris-pet-projects\Documents\boost-compute\test\test_copy.cpp(364): last checkpoint: "copy_async_svm_ptr" test entry

By some reason clEnqueueSVMMemcpy returns INVALID_VALUE although all parameters appears to be valid.

When I force unit tests to use CPU set "BOOST_COMPUTE_DEFAULT_DEVICE_TYPE=CPU" && ctest all unit tests pass.
Related to #528

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

No branches or pull requests

1 participant