4 ms·
AMD had plenty of OpenCL investments as well as C++Amp, which IMO is much cleaner than CUDA. The idea of a Microsoft-led revolution in GPU-compute isn't bad, es
by dragontamer 2y ago
AMD had plenty of OpenCL investments as well as C++Amp, which IMO is much cleaner than CUDA. The idea of a Microsoft-led revolution in GPU-compute isn't bad, especially coinciding with C++11 Lambda functions and whatnot.
That obviously didn't work out, but you can't say that AMD didn't do anything for those years. Especially as AMD was falling into bankruptcy at the time, it was clear that AMD needed to rely upon others to take on the risk of new APIs.
I'm still curious how Microsoft screwed the pooch here. Windows8 was seen as a failure, but I think I can safely say that C++AMP / ConcRT / etc. etc. were well designed APIs. AMD lost some momentum here, and had to do a CUDA-based API for ROCm moving forward a few years later.
- est31 2y agoI'm not sure why AMD has bet on Windows. The SFX industry has always been using Linux, and various Unixes before that. All the big clusters also run Linux. If they wanted to steal market share from Nvidia, then why also convince people to switch to Windows? Maybe their target customer was someone who has a workstation with one or two GPUs?
- dragontamer 2y agoThe Linux bets were OpenCL 2.0 and later Vulkan. Remember that NVidia basically stalled out on OpenCL 1.2, purposefully to encourage CUDA adoption. AMD actually moved forward, though their OpenCL2.0 wasn't that good either... it at least existed. -------- AMD's APUs culminated in XBox One / PS4 APIs, which actually have a substantial market share in the console market. --------- Vulkan on Linux is working out pretty well today. I don't think anyone would have picked that as the strongest API 10 years ago. Remember that in 2010s, "Vulkan" was known as "AMD Mantle" (https://en.wikipedia.org/wiki/Mantle_(API) https://en.wikipedia.org/wiki/Mantle_(API)). Even as AMD was going bankrupt in the early 2010s, they had plenty of software investments. Some of these investments (Mantle/Vulkan) even worked out.
- dralley 2y agoIIRC Mantle was co-developed by DICE, I think DICE may have even had the initial idea and done the prototyping.
- sorenjan 2y agoHere's a video where John Carmack, Tim Sweeney, and Johan Andersson (from Dice) talks about AMD Mantle in 2013: https://youtu.be/MH2hjhcfWic?t=4975 https://youtu.be/MH2hjhcfWic?t=4975 Carmack is sceptical, Sweeney likes it but doesn't want yet another API. And here's another video where Andersson talks about the motivation behind Mantle: https://www.youtube.com/watch?v=KApdf4P2Iak https://www.youtube.com/watch?v=KApdf4P2Iak
- pjmlp 2y agoExcept neither AMD, nor Intel, or Google, ever delivered anything with OpenCL that could match CUDA tooling, libraries, or choice of programming languages. Additionally their drivers were never great.
- blihp 2y agoThe tweet thread makes it clear: AMD has consistently based future strategy on the past which is why they were so ill-prepared for every major non-PC trend this century in CPUs until Ryzen. (which was basically catching up + much better value than Intel) This also translates to their GPUs where they seem to have absolutely no consumer GPU vision beyond 'we want some of what nVidia's getting.' Their current strategy seems to be weaker hardware + weak compute drivers + a little cheaper than nVidia = success.
- hakfoo 2y agoI wonder if the lack of a "consumer GPU vision" is sort of a forced conclusion. With ~15% of the market, it's going to be very difficult to pull the market in a direction you want, so you're forced to say "I can offer you what nVidia does, but cheaper"
- dragontamer 2y agoAMD pulls the market with near 100% of consoles. PC vs console is weird. They are different markets but you'd think the x86 based PS5 would have more pull these days.
- hakfoo 2y agoThe PC gaming market doesn't seem to track that well with the console market, though. I was always surprised by this-- you'd think that all the optimization skills and tricks they learned to get the most out of console APUs would result in a lot of ports being optimized by default for Radeon cards. I suspect the problem the PC gaming market is very halo-product steered: Intel's product credibility is still buttressed by whatever 700-watt-from-the-wall 16900WTFBBQ they can showcase for benchmarks, and Radeons winning at various price/performance tiers means nothing when they don't have a 4090 killer. I was also surprised how effectively ray-tracing was sold to the market, considering plenty of games still don't use it, and those that do take a big performance hit for it. The RTX2xxx cards were sort of turkeys, but I suspect it now provides an excellent FOMO/FUD scenario for newer cards-- that 7900XT might not ray-trace as well as a 4080.
- JonChesterfield 2y agoThe windows stuff is fallout from graphics coming from games dev and that industry being mostly windows based. Not really a conscious bet on windows being a good idea for compute, just what the first set of graphics customers happened to be using years ago.
- pjmlp 2y agoC++AMP was more a POC than anything else. The work on ConcRT and WinRT is on the genesis of C++ Co-routines, initially proposed by Microsoft to WG21. Anything else, Microsoft has always been more interested in doing compute via DirectX, aka DirectCompute. I will leave the WinRT/UWP rant for another day.
- dragontamer 2y ago> C++AMP was more a POC than anything else. Everything starts somewhere. I'd say C++Amp was better than OpenCL 2.0 ever got (since OpenCL2.0 is basically nonexistant), and if you were fine being on Windows-only, it was better than OpenCL1.2. Developer tooling was loads better on C++Amp than OpenCL ever got honestly, mostly because C++Amp leveraged DirectCompute. > Anything else, Microsoft has always been more interested in doing compute via DirectX, aka DirectCompute. Well yeah, but DirectCompute is in its own little language / world (much like OpenCL). Its HLSL, not C++ directly. What makes CUDA easier to use was that C++ integration. So C++Amp, which took true C++ Lambda functions and automagically compiled them into DirectCompute really made it easier to perform all these computations. I get that Microsoft is still investing into DirectCompute today, but Microsoft is missing out on some fundamental features of CUDA (ie: one source C++). ----------- Well, C++AMP has been dead for a decade now, so not much use reminiscing now. But it could have been great IMO with more investment and confidence. Bring C++Amp to DirectX12 so that 64-bit was usable, then start building Thrust-like (CPU-side helper libraries that utilize GPUs) or CUB-like libraries (GPU-side helper libraries). > I will leave the WinRT/UWP rant for another day. Don't worry, I think everyone in the industry is universally frustrated at this! I'm just trying to remind people where AMD was during this period.
- pjmlp 2y agoWhat makes CUDA easier to use isn't only C++ integration, rather since CUDA 3.0, NVidia has embraced a polyglot environment, with C, C++ and Fortran at the center stage, followed by anything that could target PTX. Khronos took ages to understand this, until they finally came up with SPIR. I was on an OpenCL conference (IOWCL), where the panel could not understand why people on the audience would care about Fortran or why C99 wasn't good enough. Even now with Vulkan, NVidia with Slang, and Microsoft with HLSL, are doing Khronos work, because no one is sponsoring GLSL further development. HLSL is following MSL footsteps and becoming more C++ like, even if not exactly the same. Then again, up to AMD and Intel to improve SYCL story, which Intel is much further on.
- BoredPositron 2y agoAMDs investment in OpenCL and RoCM before the FOMO of the last years was only for the checkbox they never showed real intend. Especially on consumer hardware...