Skip to content

Disable CUDA in cmake #166

Answered by pattacini
pattacini asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @gregoire-pointeau

cuda and the blades should have the same OS, but of course cuda has its own stuff related to the GPU platform. Therefore, compilation should always go neatly on cuda but might bring about troubles on blades.

However, the same binaries compiled on cuda should run smoothly also if launched from blades, because they basically share the same OS. Thus, you wouldn't need to compile code on blades.

In case you really need to compile on blades, one possible workaround is to keep sharing sources, but differentiate the build process. This would entail to tailor e.g. the YARP_DIR and ICUB_DIR variables specifically for the blades.

@mbrunettini @vtikha am I wrong or missing anyt…

Replies: 12 comments

Comment options

pattacini
Dec 1, 2016
Maintainer Author

You must be logged in to vote
0 replies
Answer selected by pattacini
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

pattacini
Dec 1, 2016
Maintainer Author

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

pattacini
Dec 5, 2016
Maintainer Author

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

pattacini
Dec 15, 2016
Maintainer Author

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

pattacini
Jan 12, 2017
Maintainer Author

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants
Converted from issue

This discussion was converted from issue #166 on December 15, 2020 15:30.