Vulcan as new GPU computing API

Message boards : Number crunching : Vulcan as new GPU computing API
Message board moderation

To post messages, you must log in.

AuthorMessage
Profile Raistmer
Volunteer developer
Volunteer tester
Avatar

Send message
Joined: 16 Jun 01
Posts: 6325
Credit: 106,370,077
RAC: 121
Russia
Message 1948574 - Posted: 9 Aug 2018, 9:37:53 UTC

Well, looks like OpenCL’s days are numbered on MacOS. Maybe we can get some Metal 2 love eventually. I suspect we have a year or two before they remove support completely.

https://iphone.appleinsider.com/articles/18/06/04/opengl-opencl-deprecated-in-favor-of-metal-2-in-macos-1014-mojave

well, all those "removes overhead of older technology" sound good... with one single question: will be that "Metal" cross-platform? Will same API be available on Windows and Linux?
Right now the Standard is Vulkan on the other Platforms. Based on recent developments, Vulkan can run on Top of Metal in macOS, https://en.wikipedia.org/wiki/MoltenVK. So it would appear if your SETI Apps supported Vulkan, they will also work on the newer macOSes. When are you going to support Vulkan in your SETI Apps?


BTW, is there any work being done to allow your AKv8 code to be compiled on the newer versions of GCC? Right now the newest version of Ubuntu that can compile Apps from the AKv8 folder is 15.04, and it just went EndOfLife, (similar to SOL). Now to compile Apps with 15.04 you have to change the Repository addresses to be able to install the Development packages. There are just a few Errors when trying to use Ubuntu 16.04 to compile, if those were fixed it would make compiling in Linux much easier.

Well, looks like OpenCL’s days are numbered on MacOS. Maybe we can get some Metal 2 love eventually. I suspect we have a year or two before they remove support completely.

https://iphone.appleinsider.com/articles/18/06/04/opengl-opencl-deprecated-in-favor-of-metal-2-in-macos-1014-mojave


well, all those "removes overhead of older technology" sound good... with one single question: will be that "Metal" cross-platform? Will same API be available on Windows and Linux?

Well as TBar mentioned, Vulcan can techincally run on top of Metal. I’m not sure how much work has been done making that actually work however. Metal itself is strictly MacOS/iOS however.

When are you going to support Vulkan in your SETI Apps?

After making sure that Vulkan is compute API, not just graphics API.

Could be useful in transition https://www.codeplay.com/portal/07-14-17-codeplay-release-clspv-an-opencl-tool-for-vulkan-enabled-devices

(taken from https://setiathome.berkeley.edu/forum_thread.php?id=78569&postid=1938314 to reduce hijacking).

Well, since that time I downloaded Vulcan SDK, found that one my netbook doesn't support Vulcan at all (year-old one, supporting OpenCL, so one can't say Vulcan can replace OpenCL so far) another has Vulcan runtime preinstalled. So, hardware requirements are met (there is hardware at disposal capable to run it).
But examples I read mostly about graphics.

No good computing apps examples so far. If anyone encounter Vulcan computing guide/tutorial/sample please post link to it here.
SETI apps news
We're not gonna fight them. We're gonna transcend them.
ID: 1948574 · Report as offensive
Admiral Gloval
Avatar

Send message
Joined: 31 Mar 13
Posts: 20265
Credit: 5,308,449
RAC: 0
United States
Message 1948587 - Posted: 9 Aug 2018, 12:19:14 UTC

When releasing OpenCL version 2.2 the Khronos Group announced that OpenCL would be merging into Vulkan in the future.

Vulkan wiki page.

ID: 1948587 · Report as offensive

Message boards : Number crunching : Vulcan as new GPU computing API


 
©2024 University of California
 
SETI@home and Astropulse are funded by grants from the National Science Foundation, NASA, and donations from SETI@home volunteers. AstroPulse is funded in part by the NSF through grant AST-0307956.