MCPcopy Create free account
hub / github.com/clMathLibraries/clFFT / do_mkdir

Function do_mkdir

src/library/fft_binary_lookup.cpp:684–696  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

682}
683
684static void do_mkdir(const std::string &path)
685{
686 int st = make_directory (path.c_str());
687
688 if (st != 0)
689 {
690 if ( errno != EEXIST )
691 {
692 std::string tmp = "Cannot not create directory '" + std::string(path) + "': ";
693 throw tmp;
694 }
695 }
696}
697
698cl_int FFTBinaryLookup::retrieveDeviceAndDriverInfo()
699{

Callers 1

Calls 1

make_directoryFunction · 0.85

Tested by

no test coverage detected