MCPcopy Create free account
hub / github.com/MethanePowered/MethaneKit / Run

Method Run

Apps/08-ConsoleCompute/ConsoleComputeApp.cpp:95–104  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

93}
94
95int ConsoleComputeApp::Run()
96{
97 if (!GetComputeDevice())
98 {
99 std::cerr << "ERROR: No GPU devices are available for computing!";
100 return 1;
101 }
102
103 return ConsoleApp::Run();
104}
105
106std::string_view ConsoleComputeApp::GetGraphicsApiName() const
107{

Callers 1

mainFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected