Skip to content

Commit 9240af0

Browse files
committed
Word smithing
1 parent 89b51a9 commit 9240af0

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/copylat.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -276,8 +276,8 @@ int main(int argc, char *argv[])
276276
// move back to CPU (cold cache). gdr_copy_to_mapping will
277277
// pay this cost.
278278

279-
// We use sync memops. The memset is done when cuMemsetD8
280-
// returns.
279+
// We use sync memops. The memset is considered done by the
280+
// time cuMemsetD8 returns.
281281
cuMemsetD8(d_A, 0, copy_size);
282282

283283
gdr_copy_to_mapping(mh, buf_ptr, init_buf, copy_size);
@@ -328,8 +328,8 @@ int main(int argc, char *argv[])
328328
// to move back to CPU (cold cache). gdr_copy_from_mapping
329329
// will pay this cost.
330330

331-
// We use sync memops. The memset is done when cuMemsetD8
332-
// returns.
331+
// We use sync memops. The memset is considered done by the
332+
// time cuMemsetD8 returns.
333333
cuMemsetD8(d_A, 0, copy_size);
334334

335335
gdr_copy_from_mapping(mh, h_buf, buf_ptr, copy_size);

0 commit comments

Comments
 (0)