We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5baa480 commit dbac855Copy full SHA for dbac855
1 file changed
include/xgboost/host_device_vector.h
@@ -151,7 +151,7 @@ class HostDeviceVector {
151
[[nodiscard]] bool DeviceCanRead() const;
152
[[nodiscard]] bool DeviceCanWrite() const;
153
[[nodiscard]] GPUAccess DeviceAccess() const;
154
-
+ // FIXME(jiamingy): Until we can fully unify the context, we will have both ctx and device here.
155
void SetDevice(DeviceOrd device, Context const* ctx = nullptr) const;
156
157
void Resize(std::size_t new_size);
0 commit comments