-
Notifications
You must be signed in to change notification settings - Fork 3
Epic fft dft 2 #36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Epic fft dft 2 #36
Conversation
…g buffer size. Added EPIC_multi_gpu.py to have two copies of fft_grid run on two GPUs simultaneously
…ing. It includes Matt's numpy speedups, fits file writing and Hari's optimizations
| #try: | ||
| # bf_romein.execute(udata, gdata) | ||
| #except NameError: | ||
| # bf_romein = Romein() | ||
| # bf_romein.init(self.locs, gphases, self.grid_size, polmajor=False) | ||
| # bf_romein.execute(udata, gdata) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove block comments
| #try: | |
| # bf_romein.execute(udata, gdata) | |
| #except NameError: | |
| # bf_romein = Romein() | |
| # bf_romein.init(self.locs, gphases, self.grid_size, polmajor=False) | |
| # bf_romein.execute(udata, gdata) |
| #bifrost.map( | ||
| # "a(i,j,k,l) += (b(i,j,k,l/2) * b(i,j,k,l%2).conj())", | ||
| # {"a": autocorrs, "b": udata, "t": self.ntime_gulp}, | ||
| # axis_names=("i", "j", "k", "l"), | ||
| # shape=(self.ntime_gulp, nchan, nstand, npol ** 2), | ||
| #) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| #bifrost.map( | |
| # "a(i,j,k,l) += (b(i,j,k,l/2) * b(i,j,k,l%2).conj())", | |
| # {"a": autocorrs, "b": udata, "t": self.ntime_gulp}, | |
| # axis_names=("i", "j", "k", "l"), | |
| # shape=(self.ntime_gulp, nchan, nstand, npol ** 2), | |
| #) |
| #bifrost.map( | ||
| # "a(i,j,p,k,l) += b(0,i,j,p/2,k,l)*b(0,i,j,p%2,k,l).conj()", | ||
| # {"a": crosspol, "b": gdata}, | ||
| # axis_names=("i", "j", "p", "k", "l"), | ||
| # shape=(self.ntime_gulp, nchan, npol ** 2, self.grid_size, self.grid_size), | ||
| #) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| #bifrost.map( | |
| # "a(i,j,p,k,l) += b(0,i,j,p/2,k,l)*b(0,i,j,p%2,k,l).conj()", | |
| # {"a": crosspol, "b": gdata}, | |
| # axis_names=("i", "j", "p", "k", "l"), | |
| # shape=(self.ntime_gulp, nchan, npol ** 2, self.grid_size, self.grid_size), | |
| #) |
| #try: | ||
| # bf_romein_autocorr.execute(autocorrs_av, autocorr_g) | ||
| #except NameError: | ||
| # bf_romein_autocorr = Romein() | ||
| # bf_romein_autocorr.init( | ||
| # autocorr_lo, autocorr_il, self.grid_size, polmajor=False | ||
| # ) | ||
| # bf_romein_autocorr.execute(autocorrs_av, autocorr_g) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| #try: | |
| # bf_romein_autocorr.execute(autocorrs_av, autocorr_g) | |
| #except NameError: | |
| # bf_romein_autocorr = Romein() | |
| # bf_romein_autocorr.init( | |
| # autocorr_lo, autocorr_il, self.grid_size, polmajor=False | |
| # ) | |
| # bf_romein_autocorr.execute(autocorrs_av, autocorr_g) |
| #if args.removeautocorrs: | ||
| # raise NotImplementedError( | ||
| # "Removing autocorrelations is not yet properly implemented." | ||
| # ) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is this commented out?
I made another branch so I could merge main in and compare. I didn't want to mess up the deployed (epic_fft_dft) branch.