File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -276,8 +276,8 @@ int main(int argc, char *argv[])
276
276
// move back to CPU (cold cache). gdr_copy_to_mapping will
277
277
// pay this cost.
278
278
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.
281
281
cuMemsetD8 (d_A, 0 , copy_size);
282
282
283
283
gdr_copy_to_mapping (mh, buf_ptr, init_buf, copy_size);
@@ -328,8 +328,8 @@ int main(int argc, char *argv[])
328
328
// to move back to CPU (cold cache). gdr_copy_from_mapping
329
329
// will pay this cost.
330
330
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.
333
333
cuMemsetD8 (d_A, 0 , copy_size);
334
334
335
335
gdr_copy_from_mapping (mh, h_buf, buf_ptr, copy_size);
You can’t perform that action at this time.
0 commit comments