-
Notifications
You must be signed in to change notification settings - Fork 88
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
Thrust voting #62
Thrust voting #62
Conversation
also adding libDevIL to test program detection
- switch to trusty - using boost from repository - no more matrix for building with different options - it builds with cuda 7, 7.5 and 8 for gcc and once without cuda - it builds without cuda for clang.
(ext == ".png") || | ||
(ext == ".ppm") || | ||
(ext == ".tga") || | ||
(ext == ".tif") ) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are these file formats not supported by opencv, which is already in the dependencies?
- compiler: gcc | ||
env: CXX_COMPILER=g++-4.8 C_COMPILER=gcc-4.8 TOOLSET=gcc VISUAL_DEBUG=OFF CCTAG_SERIALIZE=ON WITH_CUDA=OFF | ||
env: CXX_COMPILER=g++-4.8 C_COMPILER=gcc-4.8 TOOLSET=gcc WITH_CUDA=ON CUDA_VERSION_MAJOR="8" CUDA_VERSION_MINOR="0" CUDA_PKG_LONGVERSION="${CUDA_VERSION_MAJOR}.${CUDA_VERSION_MINOR}.61-1" CUDA_PKG_VERSION="${CUDA_VERSION_MAJOR}-${CUDA_VERSION_MINOR}" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it not better to add a new variant?
In order to keep one build variant with "VISUAL_DEBUG=ON CCTAG_SERIALIZE=ON"?
To ensure that the code with debug exports is builded once and not broken by new changes.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I restored it but not as a variant in the matrix: at the end of the build(s) without cuda, it restarts with those flags. It avoids to explose the matrix of possibilities and also it's faster.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Before merging maybe update the README/BUILD with the updated info: required/supported CUDA versions, supported HW etc |
Compiling and running on CUDA 8 works now. Tested only on the GTX 980 Ti so far.
CUB code is now compiled for CUDA < 8, Thrust code for CUDA >= 8
Note that CUB code with CUDA 7.5 will still fail on GTX 980 cards and other modern cards.
Test program detection can now use DevIL to load more image formats.
The CI on travis is also updated to test the build with different cuda versions (connected to #49) and upgrading to trusty (connected to #41 )