Skip to content

[SYCL] Fix the unused parameter warnings in the level_zero backend #4938

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

Merged
merged 1 commit into from Nov 11, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions sycl/include/sycl/ext/oneapi/backend/level_zero.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ inline context make_context<backend::ext_oneapi_level_zero>(
const backend_input_t<backend::ext_oneapi_level_zero, context>
&BackendObject,
const async_handler &Handler) {
(void)Handler;
return ext::oneapi::level_zero::make_context(
BackendObject.DeviceList,
detail::pi::cast<pi_native_handle>(BackendObject.NativeHandle),
Expand All @@ -134,6 +135,7 @@ template <>
inline queue make_queue<backend::ext_oneapi_level_zero>(
const backend_input_t<backend::ext_oneapi_level_zero, queue> &BackendObject,
const context &TargetContext, const async_handler Handler) {
(void)Handler;
return ext::oneapi::level_zero::make_queue(
TargetContext,
detail::pi::cast<pi_native_handle>(BackendObject.NativeHandle),
Expand Down