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
auto k_bundle = sycl::get_kernel_bundle<sycl::bundle_state::executable>(
ctx, ctx.get_devices(), {kernel_id});
return k_bundle;
} catch (const sycl::exception &e) {
if (sycl::errc::invalid == e.code())
SKIP(
"Test skipped because no device is compatible with requested kernel");
}
}
Example of build log:
In file included from ../tests/kernel_bundle/use_kernel_bundle_call_set_spec_const_after_use_kb_no_second_queue.cpp:13:
../tests/kernel_bundle/use_kernel_bundle.h:115:1: warning: non-void function does not return a value in all control paths [-Wreturn-type]
115 | }
| ^
../tests/kernel_bundle/use_kernel_bundle_call_set_spec_const_after_use_kb_no_second_queue.cpp:73:9: note: in instantiation of function template specialization 'sycl_cts::tests::use_kernel_bundle::get_non_empty_bundle<sycl_cts::test
s::use_kernel_bundle::kernel_for_kernel_bundle>' requested here
73 | get_non_empty_bundle<kernel_for_kernel_bundle>(ctx);
| ^
1 warning generated.
[426/1195] Building CXX object tests/kernel_bundle/CMakeFiles/test_kernel_bundle_objects.dir/use_kernel_bundle_call_set_spec_const_after_use_kb_with_second_queue.cpp.o
In file included from ../tests/kernel_bundle/use_kernel_bundle_call_set_spec_const_after_use_kb_with_second_queue.cpp:13:
../tests/kernel_bundle/use_kernel_bundle.h:115:1: warning: non-void function does not return a value in all control paths [-Wreturn-type]
115 | }
| ^
../tests/kernel_bundle/use_kernel_bundle_call_set_spec_const_after_use_kb_with_second_queue.cpp:76:9: note: in instantiation of function template specialization 'sycl_cts::tests::use_kernel_bundle::get_non_empty_bundle<sycl_cts::te
sts::use_kernel_bundle::kernel_for_kernel_bundle>' requested here
76 | get_non_empty_bundle<kernel_for_kernel_bundle>(ctx);
| ^
1 warning generated.
The text was updated successfully, but these errors were encountered:
The following function triggers warning during CTS build:
SYCL-CTS/tests/kernel_bundle/use_kernel_bundle.h
Lines 102 to 115 in 9691bc0
Example of build log:
The text was updated successfully, but these errors were encountered: