MCPcopy Create free account
hub / github.com/KDE/kdevelop / isCudaAvailable

Function isCudaAvailable

plugins/clang/tests/test_files.cpp:41–44  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

39
40namespace {
41bool isCudaAvailable()
42{
43 return QProcess::execute(QStringLiteral("clang"), {QStringLiteral("-xcuda"), QStringLiteral("-fsyntax-only"), QProcess::nullDevice()}) == 0;
44}
45
46QVersionNumber clangVersionNumber()
47{

Callers 1

testFiles_dataMethod · 0.85

Calls 1

executeFunction · 0.85

Tested by

no test coverage detected