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

OS llvm sycl build breaks because of removed method sycl::device::get #624

Closed
oleksandr-pavlyk opened this issue Oct 10, 2021 · 0 comments · Fixed by #625
Closed

OS llvm sycl build breaks because of removed method sycl::device::get #624

oleksandr-pavlyk opened this issue Oct 10, 2021 · 0 comments · Fixed by #625
Assignees

Comments

@oleksandr-pavlyk
Copy link
Collaborator

capi/source/dpctl_sycl_program_interface.cpp:78:26: error: no member named 'get' in 'sycl::context'
66
    auto CLCtx = SyclCtx.get();
67
                 ~~~~~~~ ^
68
/home/runner/work/dpctl/dpctl/dpctl-capi/source/dpctl_sycl_program_interface.cpp:92:39: error: no member named 'get' in 'sycl::device'
69
        CLDevices[i] = SyclDevices[i].get();
70
                       ~~~~~~~~~~~~~~ ^
71
2 errors generated.

The above is from log of #623

@oleksandr-pavlyk oleksandr-pavlyk self-assigned this Oct 12, 2021
oleksandr-pavlyk added a commit that referenced this issue Oct 12, 2021
Replaced sycl::context::get() with
sycl::context::get_native<sycl::backend::opencl>()
oleksandr-pavlyk added a commit that referenced this issue Oct 12, 2021
Replaced sycl::context::get() with
sycl::get_native<sycl::backend::opencl>( context )

Similar change for level-zero.
oleksandr-pavlyk added a commit that referenced this issue Oct 12, 2021
Replaced sycl::context::get() with
sycl::get_native<sycl::backend::opencl>( context )

Similar change for level-zero.
oleksandr-pavlyk added a commit that referenced this issue Oct 12, 2021
Replaced sycl::context::get() with
sycl::get_native<sycl::backend::opencl>( context )

Similar change for level-zero.
oleksandr-pavlyk added a commit that referenced this issue Oct 12, 2021
Replaced sycl::context::get() with
sycl::get_native<sycl::backend::opencl>( context )

Similar change for level-zero.
oleksandr-pavlyk added a commit that referenced this issue Oct 12, 2021
Replaced sycl::context::get() with
sycl::get_native<sycl::backend::opencl>( context )

Similar change for level-zero.
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 a pull request may close this issue.

1 participant