Skip to content

Commit

Permalink
Fix rocSOLVER syev_batched memory leak (#175)
Browse files Browse the repository at this point in the history
  • Loading branch information
MKKnorr authored Oct 17, 2024
1 parent 4ad21b2 commit 7dfb7d4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Libraries/rocSOLVER/syev_batched/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,7 @@ int main(const int argc, char* argv[])

// 10. Clean up device allocations.
ROCBLAS_CHECK(rocblas_destroy_handle(handle));
HIP_CHECK(hipFree(array_dA));
HIP_CHECK(hipFree(d_A));
HIP_CHECK(hipFree(d_W));
HIP_CHECK(hipFree(d_work));
Expand Down

0 comments on commit 7dfb7d4

Please sign in to comment.