kmsmith137 / n2k

N^2 kernel for radio astronomy (experimental)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build instructions:

git clone https://github.com/kmsmith137/gputils
cd gputils
make -j
cd ..

git clone https://github.com/kmsmith137/n2k
cd n2k
make -j
./test-correlator

Some loose ends that I might fix later. Let me know if you'd like me to prioritize any of these. See n2k.hpp for more info:

  • Currently, we only support 4+4 bit electric field samples, in the range [-7,7]. If the value (-8) arises, then the output of the computation will be incorrect!

  • The kernel will segfault if run on a GPU which is not the cuda default device.

  • We currently use a memory layout for the output visibility matrix which is simple, but uses twice as much memory as necessary.

  • I may have reversed real and imaginary parts of an int4+4 (relative to the CHORD conventions)

Contact: Kendrick Smith kmsmith@perimeterinstitute.ca

About

N^2 kernel for radio astronomy (experimental)


Languages

Language:C++ 69.8%Language:Cuda 25.9%Language:Makefile 3.4%Language:Python 0.7%Language:Shell 0.2%