Skip to content

Conversation

@pviscone
Copy link
Contributor

This PR adds nhlomann and Vitis_HLS 2024.2 headers as submodules, together with some dependencies (gmp.h and mpfr.h).

The reason I made this PR is to be able to run at least the c++ backend on most of the systems without external requirements (e.g. vocms machines do not have vitis headers or lack dependencies like gmp-devel and mpfr-devel).

The user can still use another version of the vitis headers just setting the XILINX_AP_INCLUDE env var before running conifer

@thesps
Copy link
Owner

thesps commented Mar 20, 2025

Hi, I like the idea of including the nlohmann JSON and ap_fixed headers to make it easier to install. I would prefer not to include them as Git submodules, but rather have them downloaded as part of the pip install step. Would you be willing to work on that?

I'm not convinced about including the other headers.

* fixed wrong casting of the thresholds

* Fix test_backends.py

---------

Co-authored-by: Sioni Summers <14807534+thesps@users.noreply.github.com>
@thesps thesps mentioned this pull request Jan 19, 2026
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.

2 participants