Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
24
class 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
data
Method · 0.45
size
Method · 0.45
Tested by
no test coverage detected