Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/arrayfire/arrayfire
/ nextTargetDeviceId
Function
nextTargetDeviceId
test/threading.cpp:126–129 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
124
}
125
126
int nextTargetDeviceId() {
127
static int nextId = 0;
128
return nextId++;
129
}
130
131
void morphTest(const array input, const array mask, const bool isDilation,
132
const array gold, int targetDevice) {
Callers
1
threading.cpp
File · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected