Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/arrayfire/arrayfire
/ sync
Function
sync
src/api/cpp/device.cpp:101–101 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
99
int deviceget() { return getDevice(); }
100
101
void sync(int device) { AF_THROW(af_sync(device)); }
102
103
// Alloc device memory
104
void *alloc(const size_t elements, const af::dtype type) {
Callers
15
timeit
Function · 0.70
TEST
Function · 0.50
main
Function · 0.50
calc
Function · 0.50
TEST
Function · 0.50
TEST_F
Function · 0.50
TEST
Function · 0.50
TEST
Function · 0.50
TEST
Function · 0.50
af_sync
Function · 0.50
benchmark_perceptron
Function · 0.50
benchmark_nb
Function · 0.50
Calls
1
af_sync
Function · 0.50
Tested by
no test coverage detected