MCPcopy Create free account
hub / github.com/arrayfire/arrayfire / get_system

Function get_system

src/backend/oneapi/platform.cpp:78–89  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

76namespace oneapi {
77
78static string get_system() {
79 string arch = (sizeof(void*) == 4) ? "32-bit " : "64-bit ";
80
81 return arch +
82#if defined(OS_LNX)
83 "Linux";
84#elif defined(OS_WIN)
85 "Windows";
86#elif defined(OS_MAC)
87 "Mac OSX";
88#endif
89}
90
91int getBackend() { return AF_BACKEND_ONEAPI; }
92

Callers 1

getDeviceInfoFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected