We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e9d13a5 commit a485cbfCopy full SHA for a485cbf
sycl/source/detail/queue_impl.hpp
@@ -870,10 +870,7 @@ class queue_impl {
870
event finalizeHandlerPostProcess(
871
HandlerType &Handler,
872
const optional<SubmitPostProcessF> &PostProcessorFunc) {
873
- auto HandlerImpl = detail::getSyclObjImpl(Handler);
874
- const CGType Type = HandlerImpl->MCGType;
875
-
876
- bool IsKernel = Type == CGType::Kernel;
+ bool IsKernel = Handler.getType() == CGType::Kernel;
877
bool KernelUsesAssert = false;
878
879
if (IsKernel)
0 commit comments