-
-
Notifications
You must be signed in to change notification settings - Fork 55.7k
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
CUDA9 build fixed, added detection #9418
Conversation
3ed5dda
to
980f43f
Compare
Thank you for contribution! Looks good to me 👍 |
Hi guys, [94/1185] cmd.exe /C "cd . && "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" -E vs_link_dll --intdir=modules\cudev\CMakeFiles\opencv_cudev.dir --manifests -- C:\PROGRA [95/1185] cmd.exe /C "cd /D C:\Users\zwolenik\CMakeBuilds\0a3f2040-a587-0f3e-af48-065e0c313449\build\x64-Debug\modules\core\CMakeFiles\cuda_compile.dir\src\cuda && "C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2017\ENTERPRISE\COMMON7\IDE\COMMONEXTENSIONS\MICROSOFT\CMAKE\CMake\bin\cmake.exe" -E make_directory C:/Users/zwolenik/CMakeBuilds/0a3f2040-a587-0f3e-af48-065e0c313449/build/x64-Debug/modules/core/CMakeFiles/cuda_compile.dir/src/cuda/. && "C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2017\ENTERPRISE\COMMON7\IDE\COMMONEXTENSIONS\MICROSOFT\CMAKE\CMake\bin\cmake.exe" -D verbose:BOOL=OFF -D build_configuration:STRING=Debug -D generated_file:STRING=C:/Users/zwolenik/CMakeBuilds/0a3f2040-a587-0f3e-af48-065e0c313449/build/x64-Debug/modules/core/CMakeFiles/cuda_compile.dir/src/cuda/./cuda_compile_generated_gpu_mat.cu.obj -D generated_cubin_file:STRING=C:/Users/zwolenik/CMakeBuilds/0a3f2040-a587-0f3e-af48-065e0c313449/build/x64-Debug/modules/core/CMakeFiles/cuda_compile.dir/src/cuda/./cuda_compile_generated_gpu_mat.cu.obj.cubin.txt -P C:/Users/zwolenik/CMakeBuilds/0a3f2040-a587-0f3e-af48-065e0c313449/build/x64-Debug/modules/core/CMakeFiles/cuda_compile.dir/src/cuda/cuda_compile_generated_gpu_mat.cu.obj.cmake" CMake Error at cuda_compile_generated_gpu_mat.cu.obj.cmake:206 (message): Maybe you can help me what I'm doing wrong. Or maybe provide more information. I started to be familiar with environement - sorry for question but I stuck on this steps and I dont know how to diagnose or push this forward. Slawek |
Usage questions should go to Users OpenCV Q/A forum: http://answers.opencv.org |
Actually, this is about OpenCV detecting correct flags for CUDA - @zwolenik are yuo sure you pull the lasted and do a clean build? After my changes, compute_20 should not be included. |
Thanks for you answer,
Yes, I'm pretty sure that I pull clear OpenCV code. Once I did fetch later
changes including your ... second pull latest clean repository. Few times
doing clean build trying to get more detail and understand what is exactly
reasons.
No success:(
Slawek
28.08.2017 22:25 "Boris Fomitchev" <notifications@github.com> napisał(a):
… Actually, this is about OpenCV detecting correct flags for CUDA -
@zwolenik <https://github.com/zwolenik> are yuo sure you pull the lasted
and do a clean build? After my changes, compute_20 should not be included.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#9418 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AF3akXLQQ-nDqMdSrOKelpX5BiZ1Q3hPks5scyJVgaJpZM4O8j4r>
.
|
Could you try this fix: #9465 ? |
Oh I think I know what it is - auto detection - is your GPU arch CUDA 2.0 ? |
CUDA9 build fixed, added detection (opencv#9418) * CUDA9 build fixed, added detection * Replacing deprecated __shfl_xxx with __shfl_sync, fixing bogus CUDA9 warnings
After spending some time I cannot get to this kind of details level. How to manage this and get info? This can be autodetection bug or I need to turn off something on building process? |
@zwolenik : I mean, if you have GPU card that is Kepler (2.x CUDA arch) - its not supported by CUDA9. You can still build on that machine if you override flags, but you can't build 2.x code with CUDA9. |
@borisfom It looks like the inclusion of |
This pullrequest changes
CUDA cmake build setup extended to handle CUDA9
fp16 code changed to accommodate CUDA9 API-breaking changes