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

Function getPlatformInfo

src/backend/cuda/platform.cpp:253–263  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

251}
252
253string getPlatformInfo() noexcept {
254 string driverVersion = getDriverVersion();
255 string cudaRuntime = getCUDARuntimeVersion();
256 string platform = "Platform: CUDA Runtime " + cudaRuntime;
257 if (!driverVersion.empty()) {
258 platform.append(", Driver: ");
259 platform.append(driverVersion);
260 }
261 platform.append("\n");
262 return platform;
263}
264
265bool isDoubleSupported(int device) noexcept {
266 UNUSED(device);

Callers 1

getDeviceInfoFunction · 0.85

Calls 2

getDriverVersionFunction · 0.85
getCUDARuntimeVersionFunction · 0.85

Tested by

no test coverage detected