Skip to content

Commit c5b9fa2

Browse files
Bensuoreble
andauthored
Apply suggestions from code review
Co-authored-by: Pablo Reble <[email protected]>
1 parent 6655435 commit c5b9fa2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sycl/doc/syclgraph/SYCLGraphUsageGuide.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -462,7 +462,7 @@ queue Queue{};
462462
exp_ext::command_graph Graph{Queue.get_context(), Queue.get_device()};
463463

464464
int *PtrA = malloc_device<int>(1024, Queue);
465-
int *PtrB = malloc_device<int>(1024, Queue)​
465+
int *PtrB = malloc_device<int>(1024, Queue)​;
466466

467467
auto CgfA = [&](handler &cgh) {
468468
cgh.parallel_for(1024, [=](item<1> Item) {
@@ -514,7 +514,7 @@ int *PtrB = malloc_device<int>(n, Queue)​;
514514
const std::vector<kernel_id> builtinKernelIds =
515515
myDevice.get_info<info::device::built_in_kernel_ids>();
516516
kernel_bundle<bundle_state::executable> myBundle =
517-
get_kernel_bundle(myContext, { myDevice }, builtinKernelIds);
517+
get_kernel_bundle<sycl::bundle_state::executable>(myContext, { myDevice }, builtinKernelIds);
518518
519519
kernel builtinKernelA = myBundle.get_kernel(builtinKernelIds[0]);
520520
kernel builtinKernelB = myBundle.get_kernel(builtinKernelIds[1]);

0 commit comments

Comments
 (0)