54 Commits

Author SHA1 Message Date
Dantali0n
58bc640d6d 32: Set AVX and AVX2 flags using CMake checks (#34)
* 32: Set mavx and mavx2 based on CMake checks
* 32: Update flags for Intel compiler
* Fix: AVX2 instead of AVX__2

Co-authored-by: Bram Veenboer <bram.veenboer@gmail.com>
Co-authored-by: lukken <lukken@astron.nl>
2025-10-29 09:18:43 +01:00
Wiebe van Breukelen
5f00c5d304 Add README.md (#38)
* Add README.md

* Improve README description of TrigDx library

* Apply suggestion from @mickveldhuis

Co-authored-by: Mick Veldhuis <mickveldhuis@hotmail.nl>

* Apply suggestion from @mickveldhuis

Co-authored-by: Mick Veldhuis <mickveldhuis@hotmail.nl>

* Apply suggestion from @mickveldhuis

Co-authored-by: Mick Veldhuis <mickveldhuis@hotmail.nl>

---------

Co-authored-by: Mick Veldhuis <mickveldhuis@hotmail.nl>
v0.1.0
2025-10-22 16:55:37 +02:00
Wiebe van Breukelen
f85e67e669 Fix compiler warnings (#37) 2025-10-22 16:48:26 +02:00
mmancini-skao
76998a137a Fix error in Taylor expansion (#36)
Replaced term3 with term4 in calculations for t4.
2025-10-20 17:09:35 +02:00
Bram Veenboer
500d35070e Fix formatting (#35)
* Run pre-commit

* Skip line-length check in cmake-lint
2025-10-10 09:19:18 +02:00
Dantali0n
bfe752433f Fixes #30, Add CMake steps to install python bindings (#31) 2025-09-17 20:03:28 +02:00
Bram Veenboer
8fe8314905 Update GPU backend (#29)
* Update GPU memory management
* Add allocate_memory and free_memory
2025-09-03 09:16:28 +02:00
Wiebe van Breukelen
9d3af8c202 Fixed broken pybind11 target check (#28)
* Fixed broken pybind11 target check

* Update python/CMakeLists.txt

Co-authored-by: Bram Veenboer <bram.veenboer@gmail.com>

---------

Co-authored-by: Bram Veenboer <bram.veenboer@gmail.com>
2025-08-27 17:07:30 +02:00
Bram Veenboer
0f7fd06be8 Extend CI (#27)
* Add build with Intel compiler
* Switch to upload/download-artifacts that retain permissions
2025-08-21 15:15:25 +02:00
Bram Veenboer
112baf447b Update the test workflow (#26)
- Upgrade to v1.2 of slurm-action
- Add extra element to matrix to test this new action
- Add cleanup step
- Simplify handling of artefacts
- Execute tests directly (not with ctest)
2025-08-21 09:06:42 +02:00
Wiebe van Breukelen
a5ba99ff5f Only fetch pybind11 when target not available (#25) 2025-08-15 16:19:34 +02:00
Wiebe van Breukelen
77c55d6824 Change CMAKE_SOURCE_DIR to PROJECT_SOURCE_DIR (#24) 2025-08-15 15:30:37 +02:00
Bram Veenboer
c85df5f69c Add Taylor expansion to LookupXSIMD (#23)
Co-authored-by: Wiebe van Breukelen <breukelen@astron.nl>
Co-authored-by: mancini <mancini@astron.nl>
2025-08-15 10:53:15 +02:00
Bram Veenboer
9c17e90c77 Add AVX checks (#20)
Co-authored-by: mancini <mancini@astron.nl>
2025-08-15 10:30:57 +02:00
Bram Veenboer
e755c1a454 Fix CI (#21) 2025-08-15 10:29:48 +02:00
Bram Veenboer
b129d9ffaf Update CI (#19) 2025-08-15 10:12:55 +02:00
Bram Veenboer
428f60f6d6 Delete .vscode/settings.json (#18) 2025-08-14 17:16:02 +02:00
Bram Veenboer
0e8ea57025 Add initial CI (#17) 2025-08-14 17:14:29 +02:00
Bram Veenboer
a072ffd12f Merge pull request #10 from astron-rd/add-python-interface
Add Python interface
2025-08-14 15:21:13 +02:00
Bram Veenboer
b3467840f9 Use const size_t for n 2025-08-14 11:07:45 +02:00
Bram Veenboer
79dc7b4285 Add dimension checks 2025-08-14 11:05:31 +02:00
Bram Veenboer
97692cface Use Type template for helper functions 2025-08-14 11:02:30 +02:00
Bram Veenboer
f40c44d5dd Add Python interface 2025-08-14 10:57:06 +02:00
Wiebe van Breukelen
0cbefb77b7 Fix CMake interface include paths (#14)
* Fixed include path

* Formatting

* Remove lookup_constexpr.hpp
2025-08-14 09:34:27 +02:00
Bram Veenboer
cdc94ab2cb Merge pull request #11 from astron-rd/fix-cuda-test
Bugfixes in data copies in CUDA backend
2025-08-12 17:16:10 +02:00
Bram Veenboer
33f98abc48 Set tolerance for CUDA tests to 1e-6 2025-08-12 17:14:41 +02:00
Bram Veenboer
c7ab463b43 Bugfix gpu output data copy 2025-08-12 17:14:41 +02:00
Bram Veenboer
ebb6d50c0b Bugfix gpu input data copy 2025-08-12 17:14:41 +02:00
Bram Veenboer
5338f3e135 Cleanup data initialization of tests 2025-08-12 17:14:41 +02:00
Bram Veenboer
f6575599fd Cleanup data initialization of benchmarks 2025-08-12 17:14:41 +02:00
Bram Veenboer
cd048e5581 Remove unused DEFAULT_N 2025-08-12 17:14:41 +02:00
Bram Veenboer
eb3806442d Merge pull request #9 from astron-rd/cmake-bugfix
Fix issue when building with TRIGDX_USE_GPU=1
2025-08-12 15:28:47 +02:00
Bram Veenboer
e58d6dae8d Merge pull request #7 from astron-rd/use-google-benchmark
Refactor benchmarks using Google Benchmark
2025-08-12 15:24:58 +02:00
Bram Veenboer
a65137322d Use static_cast 2025-08-12 15:18:07 +02:00
Bram Veenboer
b936b3998e Fix issue when building with TRIGDX_USE_GPU=1 2025-08-12 14:59:36 +02:00
Bram Veenboer
0e2d9862d5 Merge pull request #8 from astron-rd/use-common-headers
Add trigdx_config.hpp and trigdx.hpp header files
2025-08-12 14:50:19 +02:00
Bram Veenboer
2f39c5c86e Add trigdx_config.hpp and trigdx.hpp header files 2025-08-12 14:04:13 +02:00
Bram Veenboer
5e7aca89bb Refactor benchmarks using Google Benchmark 2025-08-12 13:17:23 +02:00
Bram Veenboer
e9a74ef283 Merge pull request #6 from astron-rd/fix-tests-cmake
Improve the CMake for the tests
2025-08-12 11:38:25 +02:00
Bram Veenboer
832da6229d Improve the CMake 2025-08-12 11:28:43 +02:00
Wiebe van Breukelen
b71611ed17 Merge pull request #5 from astron-rd/auto-pull-xsimd
Pull xsimd when not available
2025-08-12 10:29:35 +02:00
Wiebe van Breukelen
5a4e80ea4a Pull xsimd when not available 2025-08-12 10:18:32 +02:00
Wiebe van Breukelen
13f18847bc Merge pull request #3 from astron-rd/add-gitignore
Add .gitignore
2025-08-12 10:11:04 +02:00
Wiebe van Breukelen
eee382307f Merge pull request #2 from astron-rd/add-cmake-option-prefix
Add TRIGDX prefix to CMake configurable options
2025-08-12 10:10:55 +02:00
Wiebe van Breukelen
8eef1e966b Add .gitignore 2025-08-12 09:55:40 +02:00
Wiebe van Breukelen
d04fb8933d Add TRIGDX prefix to CMake configurable options 2025-08-12 09:52:28 +02:00
Bram Veenboer
fda7662148 Add XSIMD implementation 2025-08-07 16:56:53 +02:00
mancini
b55f456178 Add XSIMD implementation 2025-08-07 14:30:28 +02:00
Bram Veenboer
b7c13be6c0 Add GPUBackend 2025-08-01 14:21:12 +00:00
Bram Veenboer
404fbd3c02 Remove std:: prefix for sinf for GCC 12 compatibility 2025-08-01 14:21:03 +00:00