Stitcher::CreateDefault by GPU

asked 2015-07-02 22:35:04 -0600

joonho1145 gravatar image

updated 2015-07-03 06:38:40 -0600

thdrksdfthmn gravatar image
Stitcher stitcher = Stitcher::createDefault(true);

but,

int nCuda = getCudaEnabledDeviceCount() ;
return 0

why return 0?

edit retag flag offensive close merge delete

Comments

Are you familiar with c++ (or C) programming? If this is in main, then 0 code is for no error; if it is in other function, maybe it is the same thing... Anyway, the return marks the end of the function

thdrksdfthmn gravatar imagethdrksdfthmn ( 2015-07-03 06:38:32 -0600 )edit

int nCuda = getCudaEnabledDeviceCount()

nCuda == 0

why?

joonho1145 gravatar imagejoonho1145 ( 2015-07-05 23:41:36 -0600 )edit

Does this helps you? Or maybe this? The docs says it too

thdrksdfthmn gravatar imagethdrksdfthmn ( 2015-07-06 03:20:27 -0600 )edit