New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compilation of .cu (CUDA) files fail when linking against AWS SDK #1353
Comments
This seems to maybe be a cmake issue. closing |
Well,
Enabling the |
Hi @lablabla , I used your same CMakeLists.txt too and was not able to reproduce your error.
Not sure, but could you try upgrading the sdk to the newer versions see if by some off chance we inadvertently fixed this? |
justin.palmer@asg.com is no longer a valid e-mail address. Please contact Tim Wake at tim.wake@asg.com with any questions, comments, or concerns.
Diese justin.palmer@asg.com ist keine gultige Email-Adresse mehr. Bitte setzen Sie sich mit Tim Wake an folgende Email-Adresse tim.wake@asg.com in Verbindung, falls Sie etwaige Fragen, Kommentare oder Bedenken diesbezuglich haben.
Cette justin.palmer@asg.com n'est plus une adresse de courriel valable. Veuillez contacter Tim Wake a l'adresse de courriel suivante tim.wake@asg.com si vous avez des questions, des commentaires ou des preoccupations quelconques.
From: noreply@github.com
Sent: Monday, April 20 2020 6:32 PM
To: aws-sdk-cpp@noreply.github.com
CC: subscribed@noreply.github.com
Subject: Re: [aws/aws-sdk-cpp] Compilation of .cu (CUDA) files fail when linking against AWS SDK (#1353)
Closed #1353<http://TOC.ASG.COM:8080/?dmVyPTEuMDAxJiZkYWZlMDJkZTJlMzc4ZDM1YT01RTlERUFDRV80OTUyMl8zMDU0XzEmJjE5NzVjNDMyNGQzMjEzYj0xMjMyJiZ1cmw9aHR0cHMlM0ElMkYlMkZnaXRodWIlMkVjb20lMkZhd3MlMkZhd3Mtc2RrLWNwcCUyRmlzc3VlcyUyRjEzNTM=>.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub<http://TOC.ASG.COM:8080/?dmVyPTEuMDAxJiZkYWZlMDJkZTJlMzc4ZDM1YT01RTlERUFDRV80OTUyMl8zMDU0XzEmJjE5NzVjNDMyNGQzMjEzYj0xMjMyJiZ1cmw9aHR0cHMlM0ElMkYlMkZnaXRodWIlMkVjb20lMkZhd3MlMkZhd3Mtc2RrLWNwcCUyRmlzc3VlcyUyRjEzNTMlMjNldmVudC0zMjUzMDQ2MzE0>, or unsubscribe<http://TOC.ASG.COM:8080/?dmVyPTEuMDAxJiZkYWZlMDJkZTJlMzg5NTMyZT01RTlERUFDRV80OTUyMl8zMDU0XzEmJjc5MDQyNTM2OGQ0MmMzZj0xMjMyJiZ1cmw9aHR0cHMlM0ElMkYlMkZnaXRodWIlMkVjb20lMkZub3RpZmljYXRpb25zJTJGdW5zdWJzY3JpYmUtYXV0aCUyRkFEVklCSE00TEQ1R0dYWVBNTjU3RkhMUk5TSU1aQU5DTkZTTTRMWFlYWFBR>.
|
Confirm by changing [ ] to [x] below to ensure that it's a bug:
Describe the bug
Compiling a project that uses both
AWS sdk
andCUDA
causes compilation errornvcc fatal : Unknown option 'pthread'
SDK version number
1.7.111
CUDA version 10.0.130
CMake 3.14
Platform/OS/Hardware/Device
What are you running the sdk on?
Ubuntu 16.04
To Reproduce (observed behavior)
Steps to reproduce the behavior (please share code)
cuda.cu
is emptyExpected behavior
Compilation should succeed
Logs/output
Additional context
After digging around we saw that linking
${AWSSDK_LINK_LIBRARIES}
adds-pthread
to theCUDA_FLAGS
The text was updated successfully, but these errors were encountered: