Home
last modified time | relevance | path

Searched refs:output_stream (Results 1 – 1 of 1) sorted by relevance

/libCEED/backends/cuda/
H A Dceed-cuda-compile.cpp49 FILE *output_stream = popen((command + std::string(" 2>&1")).c_str(), "r"); in CeedCallSystem_Core() local
51 …CeedCheck(output_stream != nullptr, ceed, CEED_ERROR_BACKEND, "Failed to %s\ncommand:\n$ %s", mess… in CeedCallSystem_Core()
56 while (fgets(line, sizeof(line), output_stream) != nullptr) { in CeedCallSystem_Core()
60 …CeedCheck(pclose(output_stream) == 0, ceed, CEED_ERROR_BACKEND, "Failed to %s\ncommand:\n$ %s\nerr… in CeedCallSystem_Core()
292 FILE *output_stream = popen((command + std::string(" 2>&1")).c_str(), "r"); in CeedCompileCore_Cuda() local
294 …CeedCheck(output_stream != nullptr, ceed, CEED_ERROR_BACKEND, "Failed to detect Rust LLVM version"… in CeedCompileCore_Cuda()
299 while (fgets(line, sizeof(line), output_stream) != nullptr) { in CeedCompileCore_Cuda()
303 …CeedCheck(pclose(output_stream) == 0, ceed, CEED_ERROR_BACKEND, "Failed to detect Rust LLVM versio… in CeedCompileCore_Cuda()
318 output_stream = popen((command + std::string(" 2>&1")).c_str(), "r"); in CeedCompileCore_Cuda()
319 ceed_data->use_llvm_version = use_llvm_version = pclose(output_stream) == 0; in CeedCompileCore_Cuda()