File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -2793,11 +2793,12 @@ class __SYCL_EXPORT queue : public detail::OwnerLessBase<queue> {
27932793 // TODO The handler-less path does not support kernel
27942794 // function properties and kernel functions with the kernel_handler
27952795 // type argument yet.
2796- if constexpr (!(ext::oneapi::experimental::detail::
2797- HasKernelPropertiesGetMethod<
2798- const KernelType &>::value) &&
2799- !(detail::KernelLambdaHasKernelHandlerArgT<KernelType,
2800- void >::value)) {
2796+ if constexpr (
2797+ std::is_same_v<PropertiesT,
2798+ ext::oneapi::experimental::empty_properties_t > &&
2799+ !(ext::oneapi::experimental::detail::HasKernelPropertiesGetMethod<
2800+ const KernelType &>::value) &&
2801+ !(detail::KernelLambdaHasKernelHandlerArgT<KernelType, void >::value)) {
28012802 return detail::submit_kernel_direct_single_task<KernelName, true >(
28022803 *this , ext::oneapi::experimental::empty_properties_t {}, KernelFunc,
28032804 TlsCodeLocCapture.query ());
You can’t perform that action at this time.
0 commit comments