Skip to content
Snippets Groups Projects

Allowing for all-major

Closed Jean-Loup Farges requested to merge farges/trying_all-major:dev into dev
2 unresolved threads

Context

Impossible to install without a NVIDIA board. (Issue "11": #48 (moved) )

It seems that on line 83 of the CMakeLists.txt there is CMAKE_CUDA_ARCHITECURE instead of CMAKE_CUDA_ARCHITECTURES. Despite setting environment variable to "all-major", the passed argument to cmake is -DCMAKE_CUDA_ARCHITECTURES=native. Indeed the compilation option 'native' is forced by line 93 of setup.py.

Modified files

  • CMakeLists.txt, orthographic correction + addition of a default CUDA compiler version;
  • setup.py, getting CMAKE_CUDA_ARCHITECTURES from the environment and passing it to cmake.

Detailed major modifications

(Explain the non-trivial changes you made in the modified files)

(Specify if you made an important technical decision which should be added to the wiki https://gitlab.eclipse.org/groups/eclipse/aidge/-/wikis/home or the documentation)

TODO

(List the changes that need to be done to track the progress of the MR, you need to update the list when committing !)

  • NOT DONE
  • DONE - Don't understand which changes should be done.
  • TO DO

Merge request reports

Merge request pipeline #93261 failed

Merge request pipeline failed for b4dc0722

Approval is optional

Closed by Olivier BICHLEROlivier BICHLER 1 week ago (Nov 18, 2025 4:38pm UTC)

Merge details

  • The changes were not merged into dev.

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Cyril Moineau resolved all threads

    resolved all threads

  • Cyril Moineau added 1 commit

    added 1 commit

    • 51b629fc - Apply 1 suggestion(s) to 1 file(s)

    Compare with previous version

  • Cyril Moineau added 10 commits

    added 10 commits

    • 51b629fc...b488c7cd - 6 commits from branch eclipse/aidge:dev
    • 801c2cd4 - Ortograph ARCHITECTURE
    • cb4e0b23 - ARCHITECTURES with S eveywere
    • 9511e7c5 - Passing architectures from python setup and setting a default CUDA compiler version
    • 3190a0b9 - Apply 1 suggestion(s) to 1 file(s)

    Compare with previous version

  • Cyril Moineau enabled an automatic merge when all merge checks for 3190a0b9 pass

    enabled an automatic merge when all merge checks for 3190a0b9 pass

  • Looking at the error it looks like you compile 12.8 but the ci run with 12.8. I changed the default version :)

  • Cyril Moineau aborted the automatic merge because target branch was updated

    aborted the automatic merge because target branch was updated

  • I there something I have to w.r.t. this merge request?

  • Cyril Moineau mentioned in commit d426b431

    mentioned in commit d426b431

  • Cyril Moineau added 1 commit

    added 1 commit

    • d426b431 - Update minimal cmake to 3.24, see...

    Compare with previous version

  • Cyril Moineau added 110 commits

    added 110 commits

    • d426b431...42e0de88 - 105 commits from branch eclipse/aidge:dev
    • 79460129 - Ortograph ARCHITECTURE
    • 98c39a3b - ARCHITECTURES with S eveywere
    • d5718bcc - Passing architectures from python setup and setting a default CUDA compiler version
    • 53475cfb - Apply 1 suggestion(s) to 1 file(s)
    • b4dc0722 - Update minimal cmake to 3.24, see...

    Compare with previous version

  • Cyril Moineau enabled an automatic merge when all merge checks for b4dc0722 pass

    enabled an automatic merge when all merge checks for b4dc0722 pass

  • changed milestone to %aidge v0.9.0

  • assigned to @farges

  • Cyril Moineau requested review from @cmoineau

    requested review from @cmoineau

  • I updated the CMakeLists to use Cmake 3.24 as discussed. I run the pipeline and set this MR to auto merge.

  • Cyril Moineau canceled the automatic merge

    canceled the automatic merge

  • Cyril Moineau enabled an automatic merge when all merge checks for b4dc0722 pass

    enabled an automatic merge when all merge checks for b4dc0722 pass

  • Cyril Moineau left review comments

    left review comments

  • Olivier BICHLER aborted the automatic merge because target branch was updated

    aborted the automatic merge because target branch was updated

  • There is an upcoming refactor of the build systems (both for C++ and python). This will let you override CMAKE_CUDA_ARCHITECTURES from the command line (or a preset, whichever suits you best). This should land shortly after switching to the mono repo.

    Since we need to close MRs before switching to the mono repo, this MR will be closed !

    Edited by Tristan de Blauwe
  • Ok, thanks @farges, @tblauwe, lets close this as a refactor will come shortly.

  • Please register or sign in to reply
    Loading