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

Function get_system

src/backend/cuda/platform.cpp:74–85  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

72namespace cuda {
73
74static string get_system() {
75 string arch = (sizeof(void *) == 4) ? "32-bit " : "64-bit ";
76
77 return arch +
78#if defined(OS_LNX)
79 "Linux";
80#elif defined(OS_WIN)
81 "Windows";
82#elif defined(OS_MAC)
83 "Mac OSX";
84#endif
85}
86
87unique_handle<cublasHandle_t> *cublasManager(const int deviceId) {
88 thread_local unique_handle<cublasHandle_t>

Callers 1

getDeviceInfoFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected