Skip to content

Commit

Permalink
remove unneeded synchronize
Browse files Browse the repository at this point in the history
  • Loading branch information
GarethCabournDavies committed Jan 17, 2025
1 parent 3b3b9a1 commit 3992bab
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions pycbc/waveform/decompress_cupy.py
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,6 @@ def interpolate(self, flow, freqs, amps, phases):
(self.nb,), (self.nt,),
(self.output, self.df, self.hlen, flow, fmax, texlen, freqs_gpu, amps_gpu, phases_gpu, self.lower, self.upper)
)
cp.cuda.runtime.deviceSynchronize()
return

def inline_linear_interp(amps, phases, freqs, output, df, flow, imin, start_index):
Expand Down Expand Up @@ -309,5 +308,4 @@ def inline_linear_interp(amps, phases, freqs, output, df, flow, imin, start_inde
(nb,), (nt,),
(g_out, df, hlen, flow, fmax, texlen, freqs_gpu, amps_gpu, phases_gpu, lower, upper)
)
cp.cuda.runtime.deviceSynchronize()
return output

0 comments on commit 3992bab

Please sign in to comment.