Skip to content

Conversation

@jaycedowell
Copy link

@jaycedowell jaycedowell commented Oct 18, 2022

This PR makes a few changes to the fits_equinox_update branch. They are:

  • Caching of antenna location/phasing information to disk to reduce startup times,
  • Smaller intermediate buffer sizes to reduce memory usage,
  • A modified DecimationOp block that will allow channels to be average together, and
  • New --cores and --gpu command line flags to control binding.


do_truncate = True
act_chan_bw = CHAN_BW
if nchan % self.nchan_out == 0:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A small suggestion--I think it'd be good if we add an additional check for nchan_out>6 here to avoid integer overflow during averaging. It's highly unlikely that we'll use less than 7 channels to cover the entire subband, but just in case.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What happens when nchan_out<7?

Copy link
Contributor

@infinitron infinitron Oct 19, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If we set nchan_out to 4, for example, we average 33 channels and their sum can be greater than 127. This leads to an overflow in the re or im variables in the averaging function that is launched on the gpu.

jaycedowell and others added 4 commits October 29, 2022 00:00
Slew of updates from my work on the EPIC imaging comparisons.
small typo on import
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants