Skip to content

Commit 26c6a2d

Browse files
committed
Remove sync.
1 parent 0599d15 commit 26c6a2d

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

src/data/simple_dmatrix.cu

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,8 +122,6 @@ SimpleDMatrix::SimpleDMatrix(AdapterT* adapter, float missing, int nthread) {
122122
CopyDataColumnMajor(adapter, sparse_page_.data.DeviceSpan(),
123123
adapter->DeviceIdx(), missing, s_offset);
124124
}
125-
// Sync
126-
sparse_page_.data.HostVector();
127125

128126
info.num_col_ = adapter->NumColumns();
129127
info.num_row_ = adapter->NumRows();

tests/python-gpu/test_gpu_prediction.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
from concurrent.futures import ThreadPoolExecutor
21
import sys
32
import unittest
43
import pytest

0 commit comments

Comments
 (0)