sowson / darknet

Darknet on OpenCL Convolutional Neural Networks on OpenCL on Intel & NVidia & AMD & Mali GPUs for macOS & GNU/Linux & Windows & FreeBSD
http://pjreddie.com/darknet/
Other
186 stars 31 forks source link

Is it applicable for opencl 1.1? #51

Closed KurtKoo closed 3 years ago

KurtKoo commented 3 years ago

I read the blog in which the opencl darknet runs on the beagleboard. And I want to deploy the opencl darknet on the TI product, TMDSEVM572X. The opencl 1.1 is installed on the board. According to the blog, should I just make modifications as below?

  1. In src/opencl.h file, "#define CL_TARGET_VERSION 110"
  2. In Makefile file, "ifeq ($(ARM), 1) " part, COMMON+= -DGPU -DOPENCL -DCL_TARGET_OPENCL_VERSION=110 -DARM
sowson commented 3 years ago

the code base is 1.1 really but tested on 1.2+ pls give a try your idea you may succeed :).

KurtKoo commented 3 years ago

Thank you! I'll give some feedback as soon as I test on the board.

sowson commented 3 years ago

no comments... seems the issue can be closed... feel free to reopen...