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

DarkNet CNN in OpenCL on macOS with Yolo3

Hi, Today I would like to announce that my GitHub fork at https://github.com/sowson/darknet has a new update, the fork is a advanced port of DarkNet CNN from CUDA to OpenCL and tested on macOS with eGPU from Sonnet named Breakaway RX 570 Puck. You can enjoy my coding work on this subject by cloning the GIT repository. I only want to show you two pictures of detections on my GreenPC. YoloV2 [gamer@dreampc darknet]$ ./darknet detect cfg/yolov2.cfg ../../weights/yolov2.weights data/dog.jpgDevice Continue ReadingDarkNet CNN in OpenCL on macOS with Yolo3

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

Car See by DarkNet CNN on MacBookPro 13 with Sonnet eGFX 580

Hi, today I would like to share with you truly amazing solution. It was originally presented on TED Talks about DarkNet by Joseph Redmon. Once I saw it I was wonder how to play with this solution on my MacBook Pro 13 that as you may know has not GPU I am mean it has but not very strong. But that was improved once I bought Sonnet eGFX 580 Puck… the funny thing is that they called Continue ReadingCar See by DarkNet CNN on MacBookPro 13 with Sonnet eGFX 580