diff --git a/sycl/doc/syclgraph/SYCLGraphUsageGuide.md b/sycl/doc/syclgraph/SYCLGraphUsageGuide.md index 5a13f2b987262..e25774953add4 100644 --- a/sycl/doc/syclgraph/SYCLGraphUsageGuide.md +++ b/sycl/doc/syclgraph/SYCLGraphUsageGuide.md @@ -462,7 +462,7 @@ queue Queue{}; exp_ext::command_graph Graph{Queue.get_context(), Queue.get_device()}; int *PtrA = malloc_device(1024, Queue); -int *PtrB = malloc_device(1024, Queue)​ +int *PtrB = malloc_device(1024, Queue)​; auto CgfA = [&](handler &cgh) { cgh.parallel_for(1024, [=](item<1> Item) { @@ -514,7 +514,7 @@ int *PtrB = malloc_device(n, Queue)​; const std::vector builtinKernelIds = myDevice.get_info(); kernel_bundle myBundle = - get_kernel_bundle(myContext, { myDevice }, builtinKernelIds); + get_kernel_bundle(myContext, { myDevice }, builtinKernelIds); kernel builtinKernelA = myBundle.get_kernel(builtinKernelIds[0]); kernel builtinKernelB = myBundle.get_kernel(builtinKernelIds[1]);