MCPcopy Create free account
hub / github.com/dmlc/xgboost / DevicePointer

Method DevicePointer

include/xgboost/host_device_vector.h:113–113  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

111 T* DevicePointer();
112 const T* ConstDevicePointer() const;
113 const T* DevicePointer() const { return ConstDevicePointer(); }
114
115 T* HostPointer() { return HostVector().data(); }
116 common::Span<T> HostSpan() { return common::Span<T>{HostVector()}; }

Callers 2

MakeVecFunction · 0.45
TensorMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected