Skip to content

AlexeyAB/Darknet-On-OpenCL

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Darknet on OpenCL

Darknet

Darknet is an open source neural network framework written in C and CUDA.
It is fast, easy to install, and supports CPU and GPU computation.
You can find the origin project here.

Darknet on OpenCL

As the origin darknet project is written in CUDA, this project is to port
the darknet to OpenCL. Also, darknet is assumed to run on Linux and used
some POSIX C APIs, This project rewrite this with standard C++ libraries.
So that it could also run on Windows.

Dependency

OpenCL
Make sure you have OpenCL installed, and set environment variables OPENCL_SDK
point to your OpenCL installed path.
clBLAS
clBLAS is equivalent to cuBLAS, you can find the source code here
I have prepared the binary library for Windows/Ubuntu x64 platform.
You can find clBLAS.lib/clBLAS.dll for Windows and libclBLAS.so for Linux
as well as header file here.

Build

Windows
This project is prepared with Visual Studio 2017, just open darknet_cl.sln
and build it.
Linux
May provide Makefile later...

Usage

Once you compiled and generate darknet_cl.exe, it has the same usage as darknet, you can find it here.

Attention

This project didn't build the DarkGo into the darknet_cl, maybe support it later.

About

Darknet On OpenCL

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 54.5%
  • C 45.3%
  • Other 0.2%