move executable_cache into program_state.cpp

[ROCm/hip commit: 00824be34c]
이 커밋은 다음에 포함됨:
Siu Chi Chan가 2019-05-24 17:27:25 -04:00를 커밋했습니다
1 부모 44943f5cd9
커밋 12d457cb4d
4 파일이 변경됨
+71 -76

검색과 일치하는 파일 없음

-27
파일 보기
@@ -30,39 +30,12 @@ THE SOFTWARE.
#include <cstddef>
#include <cstdint>
#include <cstdlib>
#include <stdexcept>
struct ihipModuleSymbol_t;
using hipFunction_t = ihipModuleSymbol_t*;
namespace std {
template<>
struct hash<hsa_agent_t> {
size_t operator()(hsa_agent_t x) const {
return hash<decltype(x.handle)>{}(x.handle);
}
};
template<>
struct hash<hsa_isa_t> {
size_t operator()(hsa_isa_t x) const {
return hash<decltype(x.handle)>{}(x.handle);
}
};
} // namespace std
inline constexpr bool operator==(hsa_agent_t x, hsa_agent_t y) {
return x.handle == y.handle;
}
inline constexpr bool operator==(hsa_isa_t x, hsa_isa_t y) {
return x.handle == y.handle;
}
namespace hip_impl {
[[noreturn]]
void hip_throw(const std::exception&);
class kernargs_size_align;
class program_state_impl;
class program_state {