Skip to content

Commit 25a4997

Browse files
authored
Update CUDA version for clang-tidy. (dmlc#11306)
1 parent 2247a9a commit 25a4997

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

doc/contrib/ci.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ To make changes to the CI container, carry out the following steps:
5656
5757
IMAGE_TAG=PR-XX
5858
59-
where ``XX`` is the pull request number.
59+
where ``XX`` is the pull request number. E.g. ``PR-204``.
6060

6161
6. Now submit a pull request to `dmlc/xgboost <https://github.com/dmlc/xgboost>`_. The CI will
6262
run tests using the new container. Verify that all tests pass.

src/data/cat_container.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,8 +114,8 @@ void CatContainer::Save(Json* p_out) const {
114114
std::copy_n(values.data(), values.size(), array.GetArray().begin());
115115

116116
Object out{};
117-
out["values"] = std::move(array);
118117
out["type"] = static_cast<std::int64_t>(array.Type());
118+
out["values"] = std::move(array);
119119

120120
f_out = std::move(out);
121121
}},

tests/python-gpu/test_gpu_prediction.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ def noop(*args, **kwargs):
4040
)
4141

4242
# cupy nvrtc compilation can take a long time for the first run
43-
pytestmark = tm.timeout(30)
43+
pytestmark = tm.timeout(60)
4444

4545

4646
class TestGPUPredict:

0 commit comments

Comments
 (0)