Skip to content

Commit d2805f0

Browse files
committed
Fix typo in memcpy comment
1 parent 5011090 commit d2805f0

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

driverapi/src/memcopy.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,8 @@ libreCudaStatus_t memcpyD2D(void *dst, void *src, size_t size, LibreCUstream str
3737

3838
bool use_high_bw = size > (1024 * 1024); // 1 MiB
3939

40-
4140
// technically the three kernels can run concurrently, so that's what we want to do.
42-
// if the entire memcpyD2D command is logically !asymc, we only want to sync at the last kernel of the three
41+
// if the entire memcpyD2D command is logically !async, we only want to sync at the last kernel of the three
4342
// that runs
4443
bool launch_kernel_1 = use_high_bw;
4544
bool launch_kernel_2 = !use_high_bw || size % MEMCPY_HIGHBW_BYTE_GRANULARITY != 0;

0 commit comments

Comments
 (0)