You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[SYCL] Fix the unused parameter warnings in the level_zero backend (#4938)
When the compiler is built with -Werror argument, the following errors
occur:
include/sycl/ext/oneapi/backend/level_zero.hpp:125:26: error: unused parameter 'Handler' [-Werror,-Wunused-parameter]
const async_handler &Handler) {
^
include/sycl/ext/oneapi/backend/level_zero.hpp:136:55: error: unused parameter 'Handler' [-Werror,-Wunused-parameter]
const context &TargetContext, const async_handler Handler) {
^
2 errors generated.
In order to not break the API, the parameters is still declared in the
function's signatures but marked as unused via the (void)Handler
expressions.
0 commit comments