mirror of
https://github.com/ROCm/composable_kernel.git
synced 2026-05-16 02:54:21 +00:00
* change olc cmake
* adding online compile to fwd-v4r5r2
* update scripts
* remane fwd-v4r5r2 to fwd-v6r1
* clean up
[ROCm/composable_kernel commit: 1264925422]
27 lines
453 B
C++
27 lines
453 B
C++
#ifndef GUARD_OLC_TMP_DIR_HPP
|
|
#define GUARD_OLC_TMP_DIR_HPP
|
|
|
|
#include <string>
|
|
#include <boost/filesystem/path.hpp>
|
|
|
|
namespace olCompile {
|
|
|
|
void SystemCmd(std::string cmd);
|
|
|
|
struct TmpDir
|
|
{
|
|
boost::filesystem::path path;
|
|
TmpDir(std::string prefix);
|
|
|
|
TmpDir(TmpDir const&) = delete;
|
|
TmpDir& operator=(TmpDir const&) = delete;
|
|
|
|
void Execute(std::string exe, std::string args) const;
|
|
|
|
~TmpDir();
|
|
};
|
|
|
|
} // namespace olCompile
|
|
|
|
#endif
|