Skip to content

Commit

Permalink
fix odd formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
cppchedy committed Apr 19, 2024
1 parent 25578d6 commit f9fb116
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions source/adapters/cuda/image.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -898,8 +898,7 @@ UR_APIEXPORT ur_result_t UR_APICALL urBindlessImagesImageCopyExp(
UR_CHECK_ERROR(cuMemcpy3DAsync(&cpy_desc, Stream));
}
// Synchronization is required here to handle the case of copying data
// from
// host to device, then device to device and finally device to host.
// from host to device, then device to device and finally device to host.
// Without it, there is a risk of the copies not being executed in the
// intended order.
cuStreamSynchronize(Stream);
Expand Down

0 comments on commit f9fb116

Please sign in to comment.