prabindh / darknet-cpp-windows

Visual studio project files for Darknet-cpp inference
35 stars 18 forks source link

how to build without cuda #1

Closed anguoyang closed 6 years ago

anguoyang commented 7 years ago

hi, i want to build it without cuda under windows/visual studio, but it seems the project file has no options on it

prabindh commented 7 years ago

You can refer to the options in the darknet project: {GPU;CUDNN;PTHREAD_WINDOWS;} GPU defined ==> CUDA being used. If GPU not defined, you need to remove CUDNN also. Both darknet and arapaho projects need to have the same project options.

anguoyang commented 7 years ago

ok, thank you, is the darknet project this one?: https://github.com/prabindh/darknet

or the original darknet?

anguoyang commented 7 years ago

i want to run darknet/windows with opencl only, no gpu, is it possible?

prabindh commented 7 years ago

It is this, https://github.com/prabindh/darknet, as the original version does not build on Windows. But, it has the same code-base, modified for Windows. Note: The latest changes in the mainline are reflected in an integration branch of the above project, not main branch.

prabindh commented 7 years ago

@anguoyang OpenCL port is not available yet. Only CUDA with GPU.

anguoyang commented 7 years ago

however, I found related document and source code in the repo

prabindh commented 7 years ago

@anguoyang could you please point me to where you found OpenCL references ?

anguoyang commented 7 years ago

@prabindh i found the description here: https://github.com/myestro/darknet

prabindh commented 6 years ago

@anguoyang Closing this issue.

zhangcj13 commented 5 years ago

You can refer to the options in the darknet project: {GPU;CUDNN;PTHREAD_WINDOWS;} GPU defined ==> CUDA being used. If GPU not defined, you need to remove CUDNN also. Both darknet and arapaho projects need to have the same project options.

is this set in the vs2015 project/darknet property page, could you show the details? i can't find this seting. thanks!

prabindh commented 5 years ago

darknet-vs1

Please check attached image