Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1201 commits
Select commit Hold shift + click to select a range
31efc6b
Update quantize.py - adding CUDA support
telegraphic Aug 10, 2023
c798382
Doc improvement regarding bpm?
league Aug 16, 2023
842e8f4
Merge pull request #213 from ledatelescope/update-create-a-pipeline
jaycedowell Aug 16, 2023
d2df8c3
WIP
dentalfloss1 Aug 18, 2023
becbf48
Dep warning should be gone
dentalfloss1 Aug 18, 2023
29a3858
Add support for cudaMemoryTypeUnregistred.
jaycedowell Aug 21, 2023
4a6a8a1
This might be the minimal fix.
jaycedowell Aug 21, 2023
5aa1f4b
Date update.
jaycedowell Aug 21, 2023
af5a401
Missing semicolon.
jaycedowell Aug 22, 2023
78b78f0
do_exit -> exit
jaycedowell Aug 22, 2023
5611735
Merge pull request #219 from ledatelescope/fix-dep-warning
jaycedowell Aug 22, 2023
a5cb91d
Use the TBF "unassigned" field to hold the number of stands.
jaycedowell Aug 25, 2023
c8c99b1
Update the TBF format to take the number of stands in after an unders…
jaycedowell Aug 25, 2023
30a1aa6
Date fix.
jaycedowell Aug 25, 2023
b5f503a
Require Python 3.6+.
jaycedowell Aug 25, 2023
7902717
Merge branch 'master' into no_python2
jaycedowell Aug 25, 2023
a8dbc15
More f strings.
jaycedowell Aug 25, 2023
848a8d0
Preserve spacing.
jaycedowell Aug 25, 2023
808422d
A few more f strings.
jaycedowell Aug 25, 2023
e01355f
Add a Python version check to configure as well.
jaycedowell Aug 25, 2023
82cd448
a or b can by None.
jaycedowell Aug 25, 2023
523c8a4
Reorder imports.
jaycedowell Aug 25, 2023
5c4bdb1
Drop encoding line.
jaycedowell Aug 25, 2023
1231369
Ugh.
jaycedowell Aug 25, 2023
cf4dbc4
Drop the frame size since it is now variable.
jaycedowell Aug 28, 2023
ff06f45
Only check for ctypesgen if we have an allowed Python version.
jaycedowell Aug 28, 2023
f5b0b02
Drop shell=True.
jaycedowell Aug 28, 2023
77eb32e
Merge pull request #216 from ledatelescope/no_python2
jaycedowell Aug 28, 2023
83ee479
Merge branch 'master' into dcp-sigproc-detect-update
jaycedowell Aug 28, 2023
ab80ce3
Add back in telemetry.
jaycedowell Aug 28, 2023
5a93e5d
Missed a 'shell=True' in #216.
jaycedowell Aug 28, 2023
fe8568c
Unpack also works on the GPU.
jaycedowell Aug 29, 2023
53be8aa
Add type hints.
jaycedowell Aug 29, 2023
1c5ed5c
Missing import.
jaycedowell Aug 29, 2023
6724268
Wrong file...
jaycedowell Aug 29, 2023
2ea2911
Right file...
jaycedowell Aug 29, 2023
e9ffd7c
Ugh, another missing import.
jaycedowell Aug 29, 2023
74e620f
Reallocate on resize to keep the references clean.
jaycedowell Aug 29, 2023
5853bc1
Updated the telescope and machines list to better match sigproc.py.
jaycedowell Aug 29, 2023
c966503
Add a helpful message for https://github.com/ledatelescope/bifrost/is…
jaycedowell Sep 5, 2023
21ffe54
Typo.
jaycedowell Sep 6, 2023
3d24679
Protect 192.168.1.100 from matching 192.168.1.10.
jaycedowell Sep 14, 2023
00c65ee
Cleanup send flags.
jaycedowell Sep 14, 2023
d294fad
Cleanup send work request linking.
jaycedowell Sep 14, 2023
70e6a0e
Work on splitting Verbs into a send side and a receive side.
jaycedowell Sep 14, 2023
0b8bdcf
Verbs -> VerbsSend
jaycedowell Sep 14, 2023
927b897
Checksum offloading is only for send.
jaycedowell Sep 14, 2023
c4bf808
More Verbs -> VerbsSend.
jaycedowell Sep 14, 2023
89bcba1
A few more things related to the split.
jaycedowell Sep 14, 2023
58e234b
Tweak the AVX/AVX512 tests.
jaycedowell Sep 14, 2023
6f456a8
A few more things.
jaycedowell Sep 14, 2023
26216c4
Error message cleanup now that there is send and receive.
jaycedowell Sep 14, 2023
358de64
Cleanup naming.
jaycedowell Sep 15, 2023
6268a3a
Bad rename.
jaycedowell Sep 15, 2023
6023189
Remove duplicate declarations and add in a place to store a rate limit.
jaycedowell Sep 15, 2023
0ec3452
More work on hardware packet pacing.
jaycedowell Sep 15, 2023
97483f4
Fix and rename.
jaycedowell Sep 15, 2023
955ba45
Inverted logic.
jaycedowell Sep 15, 2023
9e4c054
Bits not bytes.
jaycedowell Sep 15, 2023
35d75be
Fix SSE/AVX/AVX512 support detection.
jaycedowell Sep 18, 2023
b4d0656
Fix the fix.
jaycedowell Sep 18, 2023
74385c8
Better?
jaycedowell Sep 18, 2023
6dd3ac1
Missed one LIBS -> NVCCLIBS.
jaycedowell Sep 18, 2023
9cd4056
Move RateLimiter instantiation frinto PacketWriterMethod to make it w…
jaycedowell Sep 18, 2023
b2ed582
Cleanups to get things to compile.
jaycedowell Sep 18, 2023
1233200
Extra _CPU_STATE.
jaycedowell Sep 20, 2023
5c265ed
Extra _CPU_STATE.
jaycedowell Sep 20, 2023
e7edee8
Move CUDA gencode options into configure.
jaycedowell Sep 25, 2023
ebe95b7
Missing space.
jaycedowell Sep 25, 2023
f5f604b
We still need NVCC_GENCODE for the cuFFT library.
jaycedowell Sep 25, 2023
5d2e720
Ugh, typo.
jaycedowell Sep 25, 2023
9465265
Set a burst size for rate limiting and add a mechanism to wait for th…
jaycedowell Oct 4, 2023
54c6e96
Unused variable.
jaycedowell Oct 4, 2023
6f21a1c
Remove most of the popen() calls.
jaycedowell Oct 6, 2023
9573c02
Bug fix plus try to minimize how much gets reset at each call.
jaycedowell Oct 6, 2023
8124424
Ugh.
jaycedowell Oct 6, 2023
03a4586
Make sure we only accept complete ARP entries.
jaycedowell Oct 11, 2023
c421587
Request completion event notification as soon as the CQ is created.
jaycedowell Oct 11, 2023
4a7e633
Use a more detailed accounting of packets to make sure we don't overw…
jaycedowell Oct 11, 2023
c6e428b
Wrong return type.
jaycedowell Oct 11, 2023
f07c6d0
Use compatible headers.
jaycedowell Oct 11, 2023
88625a6
A couple of fixes to get things working.
jaycedowell Oct 11, 2023
0eb382b
Enable burst sizes for packet rate limiting for all writer methods.
jaycedowell Oct 27, 2023
66cac67
Update linalg algorithms for better optimization
dentalfloss1 Nov 13, 2023
4a6248c
Update linalg.cu
dentalfloss1 Nov 14, 2023
2dbe94c
Update linalg.cu
dentalfloss1 Nov 14, 2023
694fb39
Update linalg.cu
dentalfloss1 Nov 14, 2023
75c74f6
Fix an off-by-one error from a header mis-match in how packets are ge…
jaycedowell Dec 4, 2023
e9c83c5
Merge pull request #221 from ledatelescope/numpy_resize
jaycedowell Dec 7, 2023
f390184
Merge pull request #220 from ledatelescope/unregistred_memory_type
jaycedowell Dec 7, 2023
af885c0
Update linalg_kernels.cu
dentalfloss1 Dec 7, 2023
3c68028
Merge pull request #224 from ledatelescope/update-linalg-algos
jaycedowell Dec 7, 2023
fae28f7
Merge pull request #3 from jaycedowell/caltech-bifrost-dsp
jaycedowell Dec 8, 2023
84cde94
Merge remote-tracking branch 'upstream/ibverb-support' into lwa352
jaycedowell Dec 8, 2023
b0254e8
I thought this was in configure.ac already.
jaycedowell Dec 8, 2023
b16dc15
Fix a bad merge.
jaycedowell Dec 8, 2023
749f0ba
Give up on packet pacing for now.
jaycedowell Dec 8, 2023
e59a8ca
Make sure everything expects an OS index and use PU instead of CORE.
jaycedowell Dec 11, 2023
451650b
Additional verbs configuration options and packet pacing testing.
jaycedowell Dec 11, 2023
53e4189
Merge remote-tracking branch 'upstream/ibverb-support' into lwa352
jaycedowell Dec 11, 2023
860b522
Reset tmp before trying to find the NUMA node.
jaycedowell Dec 11, 2023
a2aea31
Merge remote-tracking branch 'upstream/ibverb-support' into lwa352
jaycedowell Dec 11, 2023
801ea2c
began simple header
dentalfloss1 Jan 19, 2024
c416496
progress
dentalfloss1 Jan 19, 2024
166c566
progress
dentalfloss1 Jan 24, 2024
5d04501
simple packet working
dentalfloss1 Jan 26, 2024
d043ac5
re-enable optimization
dentalfloss1 Jan 26, 2024
978e4d2
Missed a couple.
jaycedowell Jan 26, 2024
066f356
Also update the packet size so we know what to expect in the future.
jaycedowell Jan 26, 2024
a1cf369
There is so little to the header that we cannot tell if the observing…
jaycedowell Jan 26, 2024
c63f37e
Fixed not copying all the data to ring buffer
dentalfloss1 Feb 8, 2024
e89a650
simplify
dentalfloss1 Feb 8, 2024
c7478b1
Update simple.hpp
dentalfloss1 Feb 16, 2024
7dc1c5c
Explicitly include cstdint for gcc13 (#227)
league Feb 19, 2024
0407a30
Merge branch 'master' into ibverb-support
jaycedowell Feb 19, 2024
77ee338
Bad merge.
jaycedowell Feb 19, 2024
10f6437
Getting closer with this update.
jaycedowell Feb 19, 2024
03fa46a
Update configure.
jaycedowell Feb 19, 2024
08508b4
Missed one.
jaycedowell Feb 19, 2024
38264a8
Rebuild.
jaycedowell Feb 19, 2024
b6e6799
I think this is the correct fix.
jaycedowell Feb 19, 2024
4b9dd18
Merge branch 'ibverb-support' of https://github.com/ledatelescope/bif…
jaycedowell Feb 19, 2024
c9275ac
Lower cased names for the 'io' enum as well.
jaycedowell Feb 19, 2024
d1bb73a
Type hints.
jaycedowell Feb 19, 2024
c383f32
Type hints and cleanups.
jaycedowell Feb 19, 2024
7c07ef0
Drop some more Py2 stuff.
jaycedowell Feb 19, 2024
a9640e1
Typo.
jaycedowell Feb 19, 2024
67f9b70
Updates to also test on Py3.12 and clear up some Node.js 16 warnings.
jaycedowell Feb 20, 2024
82939d3
No imp module in Py3.12.
jaycedowell Feb 20, 2024
012aa2f
Drop the GUPPI tests in testbench.
jaycedowell Feb 20, 2024
53f0f2d
RegEx fix.
jaycedowell Feb 20, 2024
962339f
RegEx fix.
jaycedowell Feb 20, 2024
0c8f19b
Another regex fix.
jaycedowell Feb 20, 2024
898e4a8
Small update to test #228.
jaycedowell Feb 20, 2024
de72fab
Another small update to test #228.
jaycedowell Feb 20, 2024
567297b
not working yet
dentalfloss1 Feb 22, 2024
9c4306f
working disk io test for simple
dentalfloss1 Feb 23, 2024
6570bab
working test_udp
dentalfloss1 Feb 23, 2024
390f047
Merge branch 'ibverb-support' into add-simple-packet
dentalfloss1 Feb 23, 2024
9e5946a
remove debugging print statements
dentalfloss1 Feb 27, 2024
f5e371e
remove more debugging print statements
dentalfloss1 Feb 27, 2024
2906a95
undo line break
dentalfloss1 Feb 27, 2024
a7a5237
correct packet format size for simple
dentalfloss1 Feb 27, 2024
00756b7
Update packet_writer.hpp
dentalfloss1 Feb 27, 2024
801f6be
Update simple.hpp
dentalfloss1 Feb 27, 2024
463529b
Update packet_writer.hpp
dentalfloss1 Feb 27, 2024
d7ebb9b
Update test_disk_io.py
dentalfloss1 Feb 27, 2024
06ccc82
working on udp io test
dentalfloss1 Feb 27, 2024
36cf54e
remove debug file copy
dentalfloss1 Feb 27, 2024
66b0197
test udp io not working
dentalfloss1 Feb 27, 2024
4829990
retry
dentalfloss1 Feb 28, 2024
3fb4194
fix
dentalfloss1 Feb 28, 2024
f081fd1
working version of packet tests
dentalfloss1 Feb 28, 2024
8dce32d
Need be64toh, not 32
dentalfloss1 Mar 6, 2024
e1d950b
and the header filler too
dentalfloss1 Mar 6, 2024
30a03f9
debugging
dentalfloss1 Mar 7, 2024
9aff659
remove debugging
dentalfloss1 Mar 7, 2024
6458835
remove debugging
dentalfloss1 Mar 8, 2024
fe154b6
Merge branch 'add-simple-packet' of https://github.com/ledatelescope/…
dentalfloss1 Mar 8, 2024
3b27351
Unlock memory before free.
jaycedowell Mar 9, 2024
8d80917
Missed a couple unlocks. Plus, just use _limiter for the rate limit.
jaycedowell Mar 9, 2024
d97c645
Drop provide a default packet size.
jaycedowell Mar 9, 2024
012c9ee
Check both the upper and lower ends of the packet pacing range.
jaycedowell Mar 9, 2024
cfad6a1
Change assignment.
jaycedowell Mar 9, 2024
56b84d2
Update which version of ctypesgen to use.
jaycedowell Mar 15, 2024
92240df
Merge branch 'master' into astype-support
jaycedowell Mar 15, 2024
b706d5e
Bad merge.
jaycedowell Mar 15, 2024
e443012
Make a copy of the ring's data (#231).
jaycedowell Mar 15, 2024
351000a
Refactor into a TestCase per packet format.
jaycedowell Mar 16, 2024
dfccdda
Merge branch 'ibverb-support' into add-simple-packet
jaycedowell Mar 16, 2024
edfaca0
Naming cleanup.
jaycedowell Mar 17, 2024
0e6d1d8
Even more cleanups to make the test suite more useful as an example.
jaycedowell Mar 17, 2024
6de4594
Merge branch 'ibverb-support' into add-simple-packet
jaycedowell Mar 17, 2024
03d5073
More with closing().
jaycedowell Mar 17, 2024
53cd504
Formatting.
jaycedowell Mar 17, 2024
46693b3
Formatting.
jaycedowell Mar 17, 2024
96bc19a
The SIMPLE tests seem sensitive to what timetag0 is.
jaycedowell Mar 17, 2024
c22556d
Merge pull request #225 from ledatelescope/add-simple-packet
jaycedowell Mar 19, 2024
02434e2
Better comments plus formatting fixes.
jaycedowell Mar 19, 2024
0477754
Indentation.
jaycedowell Mar 19, 2024
4562c9d
Merge remote-tracking branch 'upstream/ibverb-support' into lwa352
jaycedowell Mar 19, 2024
e32a32b
Nice.
jaycedowell Mar 19, 2024
b91235b
Merge pull request #177 from ledatelescope/astype-support
dentalfloss1 Mar 19, 2024
587044a
Don't shrink writer buffers.
jaycedowell Mar 22, 2024
8c356c5
Some tiny fixes for type annotations
league Apr 18, 2024
8c5d258
More changes to satisfy type checker
league Apr 18, 2024
dcbd02b
Better fix for dtype annotation in sigproc2.
league Apr 18, 2024
076d9fb
Slight cleanup of type annotations on these 3 blocks
league Apr 18, 2024
607b20b
Cleanups plus a switch to non-temporal stores for the SSE/AVX branches.
jaycedowell Apr 18, 2024
ce76668
Copy real and complex at the same time.
jaycedowell Apr 18, 2024
1751d05
Fixes.
jaycedowell Apr 18, 2024
0ca5998
Another one.
jaycedowell Apr 18, 2024
9d18f89
Merge pull request #206 from realtimeradio/lwa352
jaycedowell Apr 19, 2024
a360f0b
Formatting.
jaycedowell Apr 19, 2024
1c074b7
Type fixes, got prematurely excited about 3.10 notation
league Apr 19, 2024
e2c7946
Merge branch 'master' into dcp-sigproc-detect-update
jaycedowell Apr 19, 2024
b566729
Merge pull request #218 from ledatelescope/dcp-sigproc-detect-update
jaycedowell Apr 19, 2024
64c6f73
Lockfile will warn periodically if waiting more than 5s
league Apr 21, 2024
3c6c912
clarify the README for the docs
dentalfloss1 Apr 25, 2024
774cb48
include docs on writing packet formats
dentalfloss1 Apr 25, 2024
7e97eba
Cleanup whitespace
jaycedowell May 3, 2024
6445e69
Formatting.
jaycedowell May 3, 2024
3a2c4aa
Also need breathe.
jaycedowell May 3, 2024
6eae812
In Github CI script, update setup-python
league May 19, 2024
e3b6dae
Don't test with Python 3.6 on MacOS
league May 29, 2024
9706acd
Fix DeprecationWarning: invalid escape sequence \d
league May 29, 2024
8d87f9b
Merge pull request #235 from ledatelescope/mac-py36
jaycedowell May 29, 2024
0ae61e7
Added better documentation build environment detection.
jaycedowell May 29, 2024
b2d56a6
Consolidate docs toggling flags into two.
jaycedowell May 29, 2024
6efaa73
Tie in the doc build flags with the top level Makefile.
jaycedowell May 29, 2024
2a1f8fe
Rebuild configure.
jaycedowell May 29, 2024
7b52298
Switch to detecting the scripts that are used to build the python docs.
jaycedowell May 29, 2024
712d3af
We should make sure this is consistent with the rest of the build.
jaycedowell May 29, 2024
c064bf2
Rebuild configure.
jaycedowell May 29, 2024
27f2834
More verbose about sphinix components.
jaycedowell May 29, 2024
9aab2f2
Rebuild configure.
jaycedowell May 29, 2024
72230f2
Merge pull request #236 from ledatelescope/fix-regex-escapes
jaycedowell May 30, 2024
c57de22
added one import statement
dentalfloss1 Jun 3, 2024
09b9b3f
Merge branch 'master' of github.com:ledatelescope/bifrost
dentalfloss1 Jun 3, 2024
dce4eb1
Revert "Merge branch 'master' of github.com:ledatelescope/bifrost"
dentalfloss1 Jun 3, 2024
f779c50
Include the Python version with the telemetry.
jaycedowell Jul 2, 2024
ec07ffa
Write PID to Lockfile
league Jul 15, 2024
c7b89c0
Merge pull request #234 from ledatelescope/lockfile-wait-notice
jaycedowell Jul 15, 2024
75edbcf
Update README.md
dentalfloss1 Jul 16, 2024
df22011
Update README.md
dentalfloss1 Jul 16, 2024
1376fbb
Update README.md
dentalfloss1 Jul 16, 2024
23530b8
Adjust commands to match.
jaycedowell Jul 16, 2024
89c6d74
See if numpy<2 helps.
jaycedowell Jul 16, 2024
3acedcd
Merge pull request #240 from ledatelescope/telemetry_update
jaycedowell Jul 16, 2024
ccb5eb7
Merge pull request #233 from ledatelescope/update-docs
jaycedowell Jul 16, 2024
b0a73e8
These need memory binding as well.
jaycedowell Jul 16, 2024
14f1220
Force all CUDA-related configure checks to be run with .cu extensions…
jaycedowell Jul 17, 2024
d8288d2
Fix the GPU shared memory check.
jaycedowell Jul 17, 2024
450cbd1
Give up on numpy2 for now.
jaycedowell Jul 17, 2024
d6d8295
We need a thrust::raw_pointer_cast() here as well.
jaycedowell Jul 17, 2024
d4e952e
include CUDA version info in docs
dentalfloss1 Jul 18, 2024
a6b5a45
Update README.md
dentalfloss1 Jul 18, 2024
3d0a8c1
Update README.md
dentalfloss1 Jul 18, 2024
6fd47cd
Add an __init__.py file.
jaycedowell Jul 19, 2024
da5566d
Use the correct version of Python.
jaycedowell Jul 19, 2024
61fbe38
Upgrade 11.2.2 to 'working'.
jaycedowell Jul 22, 2024
a285915
Typo.
jaycedowell Jul 22, 2024
bb055d2
Wording.
jaycedowell Jul 22, 2024
9baceaa
likely working -> working; Issue warning about CUDA 11.8.
jaycedowell Jul 22, 2024
ac9b7ab
Remove entries that are install/version mis-match problems.
jaycedowell Jul 22, 2024
70eb339
More wording.
jaycedowell Jul 24, 2024
05dc0ac
Merge pull request #244 from ledatelescope/add-cudaver-to-docs
jaycedowell Jul 24, 2024
3adca06
Update Getting-started-guide.rst
dentalfloss1 Aug 19, 2024
970dd02
Merge branch 'ibverb-support' into master
jaycedowell Aug 19, 2024
3d9508f
Merge pull request #245 from ledatelescope/master
jaycedowell Sep 5, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
127 changes: 127 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,127 @@
---
name: "Build and Test"
"on": [push, pull_request]
jobs:
pre_build:
runs-on: ubuntu-latest
outputs:
should_skip: ${{ steps.skip_check.outputs.should_skip }}
steps:
- id: skip_check
uses: fkirc/skip-duplicate-actions@v5
with:
concurrent_skipping: 'same_content'
skip_after_successful_duplicate: 'true'
do_not_skip: '["pull_request", "workflow_dispatch", "schedule"]'
build:
needs: pre_build
if: ${{ needs.pre_build.outputs.should_skip != 'true' }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [self-hosted, ubuntu-latest, macos-latest]
python-version: ['3.8', '3.10', '3.12']
include:
- os: ubuntu-20.04
python-version: '3.6'
- os: macos-latest
python-version: '3.6'
fail-fast: false
steps:
- name: "Software Install - Ubuntu"
if: ${{ matrix.os == 'ubuntu-latest' || matrix.os == 'ubuntu-20.04' || matrix.os == 'self-hosted' }}
run: |
sudo apt-get update && \
sudo apt-get install -y \
build-essential \
ca-certificates \
curl \
exuberant-ctags \
gfortran \
git \
libhwloc-dev \
libopenblas-dev \
pkg-config \
software-properties-common
- name: "Software Install - MacOS"
if: ${{ matrix.os == 'macos-latest' }}
run: |
brew install \
curl \
ctags-exuberant \
gawk \
gnu-sed \
hwloc \
pkg-config
- uses: actions/[email protected]
with:
python-version: ${{ matrix.python-version }}
- name: "Software Install - Python"
run: python -m pip install \
setuptools \
"numpy<2" \
matplotlib \
contextlib2 \
simplejson \
pint \
graphviz \
ctypesgen==1.0.2 \
pylint \
coverage
- name: "Software Install - Python, part 2"
if: ${{ matrix.os == 'self-hosted' }}
# Setting CPLUS_INCLUDE_PATH helps pycuda find the right
# Python header files <pyconfig.h> to use with its embedded
# subset of Boost.
env:
CPLUS_INCLUDE_PATH: "${{ env.pythonLocation }}/include/python\
${{ matrix.python-version }}"
run: python -m pip install \
cupy-cuda12x \
pycuda \
numba \
jupyterlab \
jupyter_client \
nbformat \
nbconvert
- uses: actions/checkout@v3
- name: "Build and Install"
run: |
./configure
make -j all
sudo make install
- name: Test
env:
LD_LIBRARY_PATH: /usr/local/lib:${{ env.LD_LIBRARY_PATH }}
run: |
python -m pip install scipy
cd test
bash ./download_test_data.sh
python -c "from bifrost import telemetry; telemetry.disable()"
coverage run --source=bifrost.ring,bifrost,bifrost.pipeline \
-m unittest discover
coverage xml
- name: "Test, part 2"
if: ${{ matrix.os == 'self-hosted' }}
env:
LD_LIBRARY_PATH: /usr/local/lib:${{ env.LD_LIBRARY_PATH }}
run: |
cd testbench
python generate_test_data.py
coverage run --source=bifrost.ring,bifrost,bifrost.pipeline test_file_read_write.py
coverage run --source=bifrost.ring,bifrost,bifrost.pipeline test_fft.py
coverage run --source=bifrost.ring,bifrost,bifrost.pipeline your_first_block.py
python download_breakthrough_listen_data.py -y
coverage run --source=bifrost.ring,bifrost,bifrost.pipeline test_fdmt.py ./testdata/pulsars/blc0_guppi_57407_61054_PSR_J1840%2B5640_0004.fil
coverage xml
- name: "Upload Coverage"
env:
UNITTEST_OS: ${{ matrix.os }}
UNITTEST_PY: ${{ matrix.python-version }}
if: ${{ matrix.os == 'self-hosted' && matrix.python-version == '3.8' }}
uses: codecov/codecov-action@v4
with:
files: ./test/coverage.xml, ./testbench/coverage.xml
env_vars: UNITTEST_OS,UNITTEST_PY
fail_ci_if_error: false
verbose: true
13 changes: 13 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,10 +1,23 @@
doc
version.py
/python/bifrost/version/__init__.py
*_generated.py
*_typehints.py
.log*.txt
test/data/
*.bin

# Local configuration
aclocal.m4
autom4te.cache
config.status
config.mk
Makefile
src/Makefile
python/Makefile
share/bifrost.pc
src/bifrost/config.h

# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
Expand Down
10 changes: 10 additions & 0 deletions .lgtm.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
extraction:
cpp:
prepare:
packages:
- exuberant-ctags
before_index:
- export NOCUDA=1
index:
build_command:
- make -e libbifrost
4 changes: 4 additions & 0 deletions .mypy.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[mypy]

[mypy-scipy.fftpack.*]
ignore_missing_imports = True
61 changes: 0 additions & 61 deletions .travis.yml

This file was deleted.

Loading