| 72 | } |
| 73 | |
| 74 | omp_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 | |
| 88 | result omp_sscp_executable_object::get_build_result() const { |
| 89 | return _build_result; |
nothing calls this directly
no test coverage detected