Thursday, June 30th 2022
AMD WMMA Instruction is Direct Response to NVIDIA Tensor Cores
AMD's RDNA3 graphics IP is just around the corner, and we are hearing more information about the upcoming architecture. Historically, as GPUs advance, it is not unusual for companies to add dedicated hardware blocks to accelerate a specific task. Today, AMD engineers have updated the backend of the LLVM compiler to include a new instruction called Wave Matrix Multiply-Accumulate (WMMA). This instruction will be present on GFX11, which is the RDNA3 GPU architecture. With WMMA, AMD will offer support for processing 16x16x16 size tensors in FP16 and BF16 precision formats. With these instructions, AMD is adding new arrangements to support the processing of matrix multiply-accumulate operations. This is closely mimicking the work NVIDIA is doing with Tensor Cores.
AMD ROCm 5.2 API update lists the use case for this type of instruction, which you can see below:
Source:
via VideoCardz
AMD ROCm 5.2 API update lists the use case for this type of instruction, which you can see below:
rocWMMA provides a C++ API to facilitate breaking down matrix multiply accumulate problems into fragments and using them in block-wise operations that are distributed in parallel across GPU wavefronts. The API is a header library of GPU device code, meaning matrix core acceleration may be compiled directly into your kernel device code. This can benefit from compiler optimization in the generation of kernel assembly and does not incur additional overhead costs of linking to external runtime libraries or having to launch separate kernels.
rocWMMA is released as a header library and includes test and sample projects to validate and illustrate example usages of the C++ API. GEMM matrix multiplication is used as primary validation given the heavy precedent for the library. However, the usage portfolio is growing significantly and demonstrates different ways rocWMMA may be consumed.

79 Comments on AMD WMMA Instruction is Direct Response to NVIDIA Tensor Cores
btw, this is supported on mi100/200 already.
github.com/ROCmSoftwarePlatform/rocWMMA
This extension is getting added to RDNA3 with most likely 3rd gen matrix math cores, or they could be the 2nd gen in CDNA2... I am assuming 3rd gen as AMD tends to iterate rapidly.
Currently there is Zero ROCm support for windows, maybe that will change as AMD desires more inroads to ROCm environment.
RT is a joke in its current state, everything looks wet....
I do enjoy broadcast and nvenc tho.
volunteer marketing departmentvocal fans certainly have.If a 64RB/4096SP/128MB I.C. design (8GB/128bit bus) has the same QHD performance as 6900XT, a potential Navi34 64RB/2048SP/64MB I.C. design (8GB/128bit bus) would be close to RX6700XT (QHD) level logically and a potential Navi35 32RB/1280SP/24MB I.C. design (6GB/96bit bus) at least to RTX 3050 level in FHD, so they could theoretically replace the 7nm RDNA2 designs (Navi22/23) and leave only the 6nm based Navi24 in the market eventually.
And to be honest I'm getting sick of politely making rational thoughts and arguments about such things only to be met with that, it seems like my statements hit harder, and I get more fake internet points when I phase my thoughts more provocatively.
Don't let the internet get to you, is all I can say. Everything you do on it is going to be met with resistance, even just simply because there are a million perspectives.
Probably in mass when the next cross-gen period ends.
If we assume end 2024 for refreshed PS5/XboxsX (logically it's happening despite what many like DF says imo) and end of of 2028 for PS6/XboxsX2 and the cross-gen period is 2 years, at 2030 we will be starting to see unreal engine 6 games or other next gen engines/games to support only RT capable hardware.It may see far away but it's less period than what has passed since PS4 launched.
If you use unreal engine 5 now you already enjoying all the costs benefits anyway irrespective of raytracing.
The problem is that it's heavy, so even if Epic manages to improve the engine performance, you are probably targeting RTX 3050 and above for 1080p/30fps near minimum setting and cards like RX6400 they may need 720p/30fps minimum setting if Xbox series S will be at 720-900p/30fps for example.
If Epic improves the engine and manages to achieve 60fps on PS5 even on 1080p (there are other PS5 1080p 60fps games even now) (before 1.5 year UE5 was at 1440p 30fps level in PS5) then since PS5 is like a Sapphire RX 5700 XT Nitro+ SE regarding raster, for 4K 60fps with the same quality settings, we will need a card around 1.5X faster than a ASRock RX 6900XT OC Formula.
If you increase the quality settings in PC version, it may not be enough even a full AD102 or a liquid Navi31 refresh to achieve 4K 60fps max settings gameplay (depending how low in quality settings Epic went to achieve 1080p 60fps on PS5, if it ever achieves it)
Maybe RT adoption will be faster but i doubt anything will be as fast as FSR/DLSS adoption speed.
In my opinion, there are pros and cons with each design. The space wasted on RT and Tensor cores could have resulted in a higher CUDA core count, which directly improves performance. Whereas the likes of RT is not a feature that everyone will use in every game. I am using a RTX card, but most of the games I play don't feature RT. Tensor core can be helpful to have to enable DLSS, but as we see with FSR 2.0, Tensor core is nice to have, but not a must have to claw back performance and still maintaining decent image quality. Again, unless an image is rendered terribly wrong, most people will not notice the difference between DLSS and FSR 2.0 in games.
Whereas I have been playing 4K DLSS Balanced on 4K OLED for 2 years already, almost no visual difference for 2x the FPS, without the need for 2x the CUDA cores and 2x the power consumption.
People who love to nitpick DLSS vs Native are now saying FSR2.0 is just as good as DLSS LOL, yeah sure...
As for RT i love playing AAA games that push the visual boundaries, that means RT ON for best visual immersion. Maybe in a few years you will appreciate RT ;)
And for real, DLSS got absolutely dragged through the mud for every little nitpick possible, as well as the overarching sentiment/s that "native or bust, I just want a card that offers the performance natively, native cannot be exceeded" etc, only now FSR is seen by such people as "just as good" and the best thing since sliced bread. And even though you have DLSS to thank for FSR's existence (and to be easily modded inclusion into DLSS supported games), apparently DLSS absolutely needs to immediately go away and die already, "why would dev's bother". Nice one.Same, and it's obviously divisive, but I also want to play with cutting edge visuals and rendering techniques, that's a massive part of my love of this hobby. I can of course see how that might not appeal to people, but there certainly are those of us whom it does appeal to.
I have done, and facilitated for several others double blind tests in God of War and we were all able to clearly identify which solution looked better, and it was always DLSS. No slow motion, no 400% zoom, no green tinted glasses worn.
I've said it before and I'll say it again, I am all for a totally open solution being the lasting one that makes it into games above/instead of any others, I just also happen to want it to be excellent. Right now as a DLSS user, FSR 2.0 is a visual and often performance downgrade. This can obviously be fixed, but it's not there yet.
I do welcome competition, and I don't support only one company, what a ridiculous assumption and statement to make.