MCPcopy Create free account
hub / github.com/alibaba/libgrape-lite / ArrayView

Method ArrayView

grape/cuda/utils/array_view.h:26–26  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24class ArrayView {
25 public:
26 ArrayView() = default;
27
28 explicit ArrayView(const thrust::device_vector<T>& vec)
29 : data_(const_cast<T*>(thrust::raw_pointer_cast(vec.data()))),

Callers

nothing calls this directly

Calls 2

dataMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected