Original title:
The OpenCL language binding package that can be used in the go GPU operation
First page Access https://github.com/pseudomind/go-opencl/
Find out and then download it
|
C \Go\src\src>go get github.com/pseudomind/go-opencl/cl
|
Search your OpenCL.dll file again and copy it to the Lib directory of the GCC compiler
Like I was searching for Opencl.dllin C, and I copied it into the C:\TDM-GCC-32\lib\ .
Open with Liteide.
Https://github.com/pseudomind/go-opencl/tree/master/examples/clinfo
Inside the example, you can run the
Examples/rotate Inside the example, to build, run under the cmd window, is a rotating picture example, need a PNG format picture. Use the method input rotate.exe-h and enter
You can imagine how fastCPU+GPU collaboration can be.
Future operating systems will use this technology to speed up their own operations
The world's fastest hash code matching crack software named oclhashcat, software is to use the GPU to participate in the operation
Also useful for GPU operations of Photoshop -like software, called Musemage, is said to handle the speed of the cliff faster than PS
There are also many well-known video coding software, also used to claim the use of OpenCL technology acceleration, but I found that these coding software did not let the GPU fully play, and did not play GPU 2% performance.
Now the popular VP9 and h.265 video will be the protagonist of the video format, but the coding is very lossy CPU and inefficient. If you can do oclhashcat that way 100% GPU performance, global Video coding technology will enter a new chapter, Look for a big God to push.
Using OpenCL in Go, "crushing the GPU with a rainy day"