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
The straight forward thought is kernel bundle is not device specific under a specific platform context (Like GPU platform). So we should not use dev (Existing WA for the intel/llvm#15127) as a hint.
18 auto kid = ::sycl::get_kernel_id<KernelClass>();
24 auto kbundle = ::sycl::get_kernel_bundle<::sycl::bundle_state::executable>(
25 ctx, {dev}, {kid}); // Should not be device specific
26
27 ::sycl::kernel k = kbundle.get_kernel(kid);
28 return k.get_info<::sycl::info::kernel_device_specific::work_group_size>(dev); // Device specific. In additional, launching a kernel on a specific device is device specific.