3232#include < boost/filesystem/path.hpp>
3333#include < string>
3434
35- #define FIN_OLD_BINARY_CACHE_COMPAT 1
36-
3735namespace miopen {
3836
3937bool IsCacheDisabled ();
@@ -48,6 +46,7 @@ boost::filesystem::path LoadBinary(const TargetProperties& target,
4846 std::size_t num_cu,
4947 const std::string& name,
5048 const std::string& args);
49+
5150void SaveBinary (const boost::filesystem::path& binary_path,
5251 const TargetProperties& target,
5352 const std::string& name,
@@ -63,28 +62,6 @@ void SaveBinary(const std::string& hsaco,
6362 std::size_t num_cu,
6463 const std::string& name,
6564 const std::string& args);
66-
67- #if FIN_OLD_BINARY_CACHE_COMPAT
68- inline std::string LoadBinary (const TargetProperties& target,
69- std::size_t num_cu,
70- const std::string& name,
71- const std::string& args,
72- bool )
73- {
74- return LoadBinary (target, num_cu, name, args);
75- }
76-
77- inline void SaveBinary (const std::string& hsaco,
78- const TargetProperties& target,
79- std::size_t num_cu,
80- const std::string& name,
81- const std::string& args,
82- bool )
83- {
84- SaveBinary (hsaco, target, num_cu, name, args);
85- }
86- #endif
87-
8865#endif
8966
9067} // namespace miopen
0 commit comments