Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Xtra-Computing/thundersvm
/ host_data
Method
host_data
src/thundersvm/syncarray.cpp:17–20 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
15
16
template<typename T>
17
const T *SyncArray<T>::host_data() const {
18
to_host();
19
return static_cast<T *>(mem->host_data());
20
}
21
22
template<typename T>
23
const T *SyncArray<T>::device_data() const {
Callers
1
copy_from
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected