Using OpenCL in Go, "crushing the GPU with a rainy day"

Source: Internet
Author: User

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"

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.