Skip to content

Allowing for all-major

Jean-Loup Farges requested to merge farges/trying_all-major:dev into dev

Context

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

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

Loading