Ask Your Question

how to complie the sample code of gpu?

asked 2013-03-26 02:18:34 -0500

allen gravatar image

I download the opencv-2.4.3,and use the cmake to complile this code in the ubuntu 11.04;but I find the code in the dir:opencv-2.4.3/samples/gpu is not compiled. And my graphics card is gtx 660;the cuda sdk is to complie the sample code of gpu? could somebody tell me.Thanks!

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2013-03-26 08:38:22 -0500

wuling gravatar image

When you use cmake to setup options,do you see below list: (configure pls choices them) Bulid_GPU, CUDA_ARCH_BIN, CUDA_ARCH_PTX, CUDA_FAST_MATH, CUDA_HOST_COMPLIIER, CUDA_TOOLKIT_ROOT_DIR, WIDTH_CUDA, WITH_CUBLAS, WITH_CUFFT

and before push generate ,plsease watch CUDA_TOOLKIT_ROOT_DIR is found or not.

edit flag offensive delete link more


Can you reformulate your answer? It is more unclear than the actual question ...

StevenPuttemans gravatar imageStevenPuttemans ( 2013-03-26 11:26:51 -0500 )edit

in fact,i just don't see " in the ubuntu 11.04".Becasue CMake is not friendly in linux. In windows,you can move mouse over the item,it shows tooltips.:) But if you setup those options and generate those. I don't know in linux what's complier or command to complier it

wuling gravatar imagewuling ( 2013-03-26 11:54:47 -0500 )edit

Question Tools


Asked: 2013-03-26 02:18:34 -0500

Seen: 338 times

Last updated: Mar 26 '13