Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Pablo Reble <[email protected]>
  • Loading branch information
Bensuo and reble authored Oct 30, 2024
1 parent 6655435 commit c5b9fa2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sycl/doc/syclgraph/SYCLGraphUsageGuide.md
Original file line number Diff line number Diff line change
Expand Up @@ -462,7 +462,7 @@ queue Queue{};
exp_ext::command_graph Graph{Queue.get_context(), Queue.get_device()};

int *PtrA = malloc_device<int>(1024, Queue);
int *PtrB = malloc_device<int>(1024, Queue)​
int *PtrB = malloc_device<int>(1024, Queue)​;

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

0 comments on commit c5b9fa2

Please sign in to comment.