MCPcopy Create free account
hub / github.com/AdaptiveCpp/AdaptiveCpp / ~omp_sscp_executable_object

Method ~omp_sscp_executable_object

src/runtime/omp/omp_code_object.cpp:74–86  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

72}
73
74omp_sscp_executable_object::~omp_sscp_executable_object() {
75 if (_module){
76 std::string message;
77 common::close_library(_module, message);
78 if (!message.empty()) {
79 HIPSYCL_DEBUG_ERROR << "[omp_sscp_executable_object] " << message << std::endl;
80 }
81 }
82 if(!common::filesystem::remove(_kernel_cache_path)) {
83 HIPSYCL_DEBUG_ERROR << "Could not remove kernel cache file: "
84 << _kernel_cache_path << std::endl;
85 }
86}
87
88result omp_sscp_executable_object::get_build_result() const {
89 return _build_result;

Callers

nothing calls this directly

Calls 3

close_libraryFunction · 0.85
removeFunction · 0.50
emptyMethod · 0.45

Tested by

no test coverage detected