docc 0.8.3 (0d44999b)
C++ API Reference
Loading...
Searching...
No Matches
sdfg::gpu::util Namespace Reference

Functions

std::optional< std::string > run_and_capture (const std::string &command)
 Runs a command and captures its standard output.
std::string trim (const std::string &raw)
 Trims surrounding whitespace from a string.

Function Documentation

◆ run_and_capture()

std::optional< std::string > sdfg::gpu::util::run_and_capture ( const std::string & command)

Runs a command and captures its standard output.

Returns std::nullopt if the command could not be launched.

◆ trim()

std::string sdfg::gpu::util::trim ( const std::string & raw)

Trims surrounding whitespace from a string.