Skip to content

Commit

Permalink
Fixed integration tests fails due to pipeline not freed
Browse files Browse the repository at this point in the history
  • Loading branch information
axsaucedo committed Feb 27, 2021
1 parent 9d206c3 commit 198fb46
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions src/Algorithm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -332,6 +332,7 @@ Algorithm::createPipeline()
vk::Pipeline pipeline =
this->mDevice->createComputePipeline(*this->mPipelineCache, pipelineInfo);
this->mPipeline = std::make_shared<vk::Pipeline>(pipeline);
this->mFreePipeline = true;
#endif

// TODO: Update to consistent
Expand Down
1 change: 0 additions & 1 deletion src/Manager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,6 @@ Manager::destroy() {
if (this->mDebugReportCallback) {
this->mInstance->destroyDebugReportCallbackEXT(
this->mDebugReportCallback, nullptr, this->mDebugDispatcher);
this->mInstance = nullptr;
KP_LOG_DEBUG("Kompute Manager Destroyed Debug Report Callback");
}
#endif
Expand Down

0 comments on commit 198fb46

Please sign in to comment.