Skip to content
This repository has been archived by the owner on May 9, 2024. It is now read-only.

Commit

Permalink
Add missing destructor
Browse files Browse the repository at this point in the history
  • Loading branch information
kurapov-peter committed Jun 29, 2023
1 parent e1d6f60 commit c13e868
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions omniscidb/L0Mgr/L0Mgr.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,10 @@ ze_command_list_handle_t L0CommandList::handle() const {

L0CommandList::~L0CommandList() {
// TODO: maybe return to pool
auto status = zeCommandListDestroy(handle_);
if (status) {
std::cerr << "Non-zero status for command list destructor" << std::endl;
}
}

void L0CommandList::copy(void* dst, const void* src, const size_t num_bytes) {
Expand Down

0 comments on commit c13e868

Please sign in to comment.