OpenCL amd & Visual studio ?

Discussion of chess software programming and technical issues.

Moderators: hgm, Rebel, chrisw

MahmoudUthman
Posts: 234
Joined: Sat Jan 17, 2015 11:54 pm

OpenCL amd & Visual studio ?

Post by MahmoudUthman »

How can I use visual studio "2017" for openCL development with a an AMD GPU , all I could find on the internet were tutorials using AMD's "Accelerated Parallel Processing SDK" , but for some reason they have moved it to the archived section on their website , now there is an OpenCL light SDK "I don't know the difference between the two" ?

* for somereason I can't post in AMD's developers forum

Also is this List updated ? and is Monte-Carlo the current best algorithm on GPUs ?
smatovic
Posts: 2645
Joined: Wed Mar 10, 2010 10:18 pm
Location: Hamburg, Germany
Full name: Srdja Matovic

Re: OpenCL amd & Visual studio ?

Post by smatovic »

How can I use visual studio "2017" for openCL development with a an AMD GPU ,
On Linux i used gcc to compile the c part of code,
and let the opencl runtime environment compile the opencl part on the fly,
so there is no need for any SDKs, but an OpenCL driver.

And there is CodeXL,

https://en.wikipedia.org/wiki/CodeXL

afaik, also available as VS plugin, which i have no experience with.
Also is this List updated ?
There is another OpenCL engine not listed, WeeChess,

https://github.com/EwanC/WeeChess

but i did not test it.
and is Monte-Carlo the current best algorithm on GPUs ?
I guess it depends on how you define best.

Best suited for gpu architecture, probably yes.

Best in measured Elo points, probably no.

Imo chess is too tactical (compared to Go), to make MC methods work in an
competitive manner, and you have to consider that top engines have an branching
factor of two, or less, which is very challenging for alternative tree search algorithms.

Here is an outdated overview of gpu game tree search papers,

https://web.archive.org/web/20160712181 ... s.app26.de

search for "Papers on GPU Game Tree Search".


--
Srdja
Karlo Bala
Posts: 373
Joined: Wed Mar 22, 2006 10:17 am
Location: Novi Sad, Serbia
Full name: Karlo Balla

Re: OpenCL amd & Visual studio ?

Post by Karlo Bala »

MahmoudUthman wrote:How can I use visual studio "2017" for openCL development with a an AMD GPU , all I could find on the internet were tutorials using AMD's "Accelerated Parallel Processing SDK" , but for some reason they have moved it to the archived section on their website , now there is an OpenCL light SDK "I don't know the difference between the two" ?

* for somereason I can't post in AMD's developers forum

Also is this List updated ? and is Monte-Carlo the current best algorithm on GPUs ?


Everything you need is inside AMD GPU driver, but for development you don't even need a GPU. Download Intel OpenCl SDK and play with it on Intel processor. Later you can recompile it for AMD.

Nevertheless, this is a link for AMD SDK
http://developer.amd.com/amd-accelerate ... g-app-sdk/
Best Regards,
Karlo Balla Jr.