GPU OpenCL Fine-Tuning Problem

Hi, today I have a C and OpenCL code fine-tuning problem to think about. This problem is quite complex to solve and truth be told I do not know how and why it does not work. The example is from real project at https://github.com/sowson/darknet. Let me first show you slow to compute version of example method in OpenCL. To give you all the aspects of computation you need to see also C code that invokes this one Continue ReadingGPU OpenCL Fine-Tuning Problem

GPU Computing on OpenCL

Hi, today I have something very nice for all readers. The subject is the GPU Computing on OpenCL for all readers. Abstract: Have you ever wanted to sum 10 million random numbers in array in C? Do you know that on GPU it can be faster about 20k times than on CPU? This post is about GPU Computing and all examples were written in C language with OpenCL 1.2+. Basic understanding of C language is necessary to Continue ReadingGPU Computing on OpenCL

DarkNet in OpenCL on Asus Thinker Board S

Hi, today I would like to share with you the setup of DarkNet in OpenCL that works fine on Asus Thinker Board S. Here it is the setup. mkdir github cd github git clone https://github.com/krrishnarraj/libopencl-stub cd libopencl-stub make sudo cp -r include/* /usr/include sudo cp libOpenCL.a /usr/lib cd .. git clone https://github.com/sowson/darknet.git cd darknet # change in Makefile OPENCV=0 and RPI=1 make As an example let me show to you Yolo3-Tiny computation And here it is the Continue ReadingDarkNet in OpenCL on Asus Thinker Board S

DarkNet in OpenCL

Hi, Today I would like to announce that my GitHub fork at https://github.com/sowson/darknet has a new update, the fork is an advanced port of DarkNet CNN from CUDA to OpenCL and tested on macOS with eGPU from Sonnet named Breakaway RX 570 Puck and on my GreenPC it also supports Intel Iris GPU, OpenCV 3, and there are several use cases for it. Yolo3, Yolo2, Yolo1, CIFAR-10 solutions work fine, using demo from webcam also, from mp4 videos Continue ReadingDarkNet in OpenCL

Floating Pointers on OpenCL cl_mem

Hi, First welcome in 2018 on my blog, I hope you all feel exited in the new year like me, sorry to be silent for a while, but I was absorbing my first GitHub fork wich is “sowson/darknet” and I was coding like a crazy one. Still I have several todo on this code but I really like it. And regarding to this journey, Today I would like to share with you something really awesome that I Continue ReadingFloating Pointers on OpenCL cl_mem