forked from gunrock/gunrock
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use ccbin option for gencode auto-detection
When CMake runs the AutoDetectCudaArch file and executes the command to run our test program, we don't pass in the -ccbin option. If the user has multiple versions of gcc installed, then the default will be used instead of the one specified to CMake via $CC or CMAKE_C_COMPILER. This change modifes AutoDetectCudaArch to include the CMAKE_C_COMPILER in the test command that is executed during build.
- Loading branch information
Showing
1 changed file
with
22 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters