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

DarkNet CUDA vs OpenCL and CPU vs NVIDIA vs AMD

Hi, today I will show you some measurements results for my PhD. I am working of the first publication about DarkNet on OpenCL, the source code of this project you can find at https://github.com/sowson/darknet. The IEEE publication has to be consistent and smart. I cannot put on it too much graphics and big tables… but waits, I have a public blog site. So, I can post it here. First things first the battle heroes come on the Continue ReadingDarkNet CUDA vs OpenCL and CPU vs NVIDIA vs AMD

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

Tic Tac Toe

Hello, today I would like to share with yor work done in 2011, the tic tac toe game. It is based on the jQuery and pure JavaScript, so you can see the source code of it. And that is why I will not share separately whole HTML5 JS CSS code here, so let’s play! Enjoy! p ;).

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 Training

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. Let’s get started the training by the inspiration from the solution original author Joseph Redmon given the TED talk. Interested how it works and how to rebuild? Why I spent some Continue ReadingDarkNet Training

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

EuroJackpot with EnCog ANN and Stats

Yes, I know that it is impossible to predict lottery results. But if the results would be predictable? Of course I know they are not, but just hypothetically for a play with Perceptron Neural Network and prediction algorithms I want to show you that in 256 ;-) lines of code you are able to play with prediction thanks to EnCog 3.4 library. I bought recently 2 Jeff Heaton’s  books about neural networks and C# and his library. Continue ReadingEuroJackpot with EnCog ANN and Stats

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

HackerRank Customer Service Capacity

Hi, today I would like to show you how to solve the code puzzle with the time line. Where you have to in O(n) determine how many maximal events happen the same time… I hope you like it ;-). I looked on the Internet and there is no correct solution for this problem in my opinion, so far. So I decided to write on my own this solution and share with my readers… On the Internet there Continue ReadingHackerRank Customer Service Capacity