-
Notifications
You must be signed in to change notification settings - Fork 217
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
oneDAL dbscan sample code exception #3002
Comments
Hi, @AlexZhao-becls ! |
Hi, @Alexandr-Solovev, Thanks for your response. I want to use sycl::queue in my investigation to evaluate the performance on different devices. |
@AlexZhao-becls You can launch dpc examples with host queue to check your performance on CPU. Can you share please result log of launching dpc examples? It should show results from both devices(cpu gpu). |
oneDAL dbscan sample code exception
Build and run oneDAL/examples/oneapi/cpp/source/dbscan/dbscan_brute_force_batch.cpp.
Exception occurs when to call
const auto result_compute = dal::compute(q, dbscan_desc, x_data);
Debugger stops in Line 65 of compute_ops.hpp as below:
Exception thrown at 0x0000000000000000 in TestDBSCAN.exe: 0xC0000005: Access violation executing location 0x0000000000000000.
The sycl::queue q is built on CPU - Intel(R) OpenCL, 12th Gen Intel(R) Core(TM) i7-1260P
OS: Windows 10 Enterprise 22H2
oneAPI: 2025.0
Visual Studio 2022 64-bit Version 17.7.5
Try to remove the explicit "q" param as below:
const auto result_compute = dal::compute(dbscan_desc, x_data);
there is no exception.
The text was updated successfully, but these errors were encountered: