Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/arrayfire/arrayfire
/ deviceset
Function
deviceset
src/api/cpp/device.cpp:79–79 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
77
void setDevice(const int device) { AF_THROW(af_set_device(device)); }
78
79
void deviceset(const int device) { setDevice(device); }
80
81
int getDevice() {
82
int device = 0;
Callers
nothing calls this directly
Calls
1
setDevice
Function · 0.70
Tested by
no test coverage detected