Skip to content

Commit

Permalink
fixed synchronization bug
Browse files Browse the repository at this point in the history
  • Loading branch information
maximilianbehr committed Mar 5, 2024
1 parent 681bca2 commit 6670ba6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
build
1 change: 1 addition & 0 deletions hipexpm.hip
Original file line number Diff line number Diff line change
Expand Up @@ -554,6 +554,7 @@ static int hipexpm(const int n, const T *d_A, const int ldA, void *d_buffer, voi
/*-----------------------------------------------------------------------------
* compute U and V for the Pade approximant independently on different streams
*-----------------------------------------------------------------------------*/
CHECK_HIP(hipDeviceSynchronize());
hipStream_t streamU, streamV;
CHECK_HIP(hipStreamCreate(&streamU));
CHECK_HIP(hipStreamCreate(&streamV));
Expand Down

0 comments on commit 6670ba6

Please sign in to comment.