c# - Unable to use Emgucv CUDA -


does know why unable use cuda, have nvidia graphics card installed has cuda enabled, gtx 660, , have cuda driver , toolkit installed. however, when try use "hascuda" function, returns false. when try compile program without checking cuda, error. have instructions on how install emgucv cuda in visual studio 2015, way, got emgucv nuget package.

using system; using system.collections.generic; using system.componentmodel; using system.data; using system.drawing; using system.linq; using system.text; using system.threading.tasks; using system.windows.forms; using emgu.cv.cuda;  namespace windowsformsapplication1 {     public partial class form1 : form     {         public form1()         {             initializecomponent();         }          public void cudacheck()         {             if (cudainvoke.hascuda)            {                messagebox.show("cuda on");            }           else           {               messagebox.show("cuda off");            }        }         private void button1_click(object sender, eventargs e)        {            cudacheck();        }    } } 

the result "cuda off".

i believe issue using build of emgu not built cuda enabled. build without cuda enabled more commonly used since smaller package. using package nuget myself, seems without cuda enabled. have make sure using build -cuda in it's name, have download sourceforge: https://sourceforge.net/projects/emgucv. go files, , find file need.


Comments

Popular posts from this blog

jOOQ update returning clause with Oracle -

java - Warning equals/hashCode on @Data annotation lombok with inheritance -

java - BasicPathUsageException: Cannot join to attribute of basic type -