4 ms·
Intel Processor Graphics Gen11 Architecture [pdf]
- baybal2 8y agoVery surprised to see such in detail description being public. I know that Intel's fab people are the only ones in the industry who are public about their current process in academic publications. TSMC's process engineers, on other hand, jokingly call the famously paranoid TSMC's NDA an "omerta"
- godelmachine 8y agoMay I ask what’s an Omerta?
- TomMarius 8y agohttps://en.m.wikipedia.org/wiki/Omertà https://en.m.wikipedia.org/wiki/Omertà
- coldtea 8y agoA "code of silence" or an "enforced silence" about a subject. Originally from the mafia who had strict rules about what to speak about, and about not talking to the police and such (not just for mafia members, for everybody in their region).
- sneakernets 8y agoA better term is "don't snitch" - anything can be a trade secret.
- aidenn0 8y agoFor this at least, Intel is still not competitive in the GPU space, so advertising cool things they do is almost certainly a net win. nVidia has a big advantage in that games are developed specifically for their hardware, so telegraphing how the next generation will work is potentially a larger downside for them.
- wmf 8y agoIntel had published detailed manuals for their GPUs for years; the Linux drivers are also open source.
- baybal2 8y agoI can only be grateful for them doing such great support on Linux, and being open
- dragontamer 8y agoAMD's Vega is better documented IMO: https://developer.amd.com/wp-content/resources/Vega_Shader_ISA_28July2017.pdf https://developer.amd.com/wp-content/resources/Vega_Shader_I... NVidia doesn't go into the same assembly-level detail as AMD, but NVidia's high-level documentation is also superior: https://docs.nvidia.com/cuda/parallel-thread-execution/index.html https://docs.nvidia.com/cuda/parallel-thread-execution/index... NVidia offers latency / throughput tables on the PTX instructions. So NVidia has very well-documented PTX, but not necessarily the assembly-language level details. ------------- Intel's documentation is still a bit high-level. But I expect Intel to release additional documentation on their architecture. Gen11 is still unreleased, so they have time. Basically, Intel has only released the equivalent of NVidia's architecture overview... such as: https://www.nvidia.com/content/dam/en-zz/Solutions/design-visualization/technologies/turing-architecture/NVIDIA-Turing-Architecture-Whitepaper.pdf https://www.nvidia.com/content/dam/en-zz/Solutions/design-vi...
- vetinari 8y agoIntel has been publishing detailed documentation here: https://01.org/linuxgraphics/documentation/hardware-specification-prms https://01.org/linuxgraphics/documentation/hardware-specific... For example, for Kaby Lake, you can find the ISA documented in Volume 7 (EU Overview).
- dragontamer 8y agoOh yeah, but Intel hasn't published Gen11 details yet. Emphasis on "yet". Gen11 is still unreleased. This higher-level document is a good start to anyone curious about the next-generation platform, but its still too high level for anyone who is actually working on Intel iGPU shaders or code. I'm pretty confident that Intel will eventually release more details on Gen11 as it comes out. Ideally, they will publish all the Gen11 features before the hardware is released.
- vetinari 8y agoAh, Gen11 specifically, I thought you were talking about Intel GPUs in general. Intel has a pretty good track record with releasing the docs, but I'm not so sure with the timing, and whether the docs will be available before hardware release.
- jdashg 8y agoCoarse Pixel Shading is a cool smarter-not-harder approach for filling high-dpi displays on lower-horsepower iGPUs. The section on it shows comparisons, and it does look useful, though it requires integration by applications. Adaptive Sync, woo! That's going to make it so much nicer on anything that misses the 60Hz budget, which is going to be more likely on these weaker iGPUs. For compressed texture formats, they call out BC and ETC/EAC, but I'm worried that they didn't include ASTC, which is The New Hotness. Compressed texture format fragmentation is a tough issue to deal with and to solve, but the sooner we can centralized on a common good format, the better. Dedicated subslice Shared Local Memory is going to see use, for sure. (previously part of L3) 64KB with 1-byte alignment sounds great. Transparent dynamic lossless compression is adding srgb support, which I'm really surprised wasn't already happening.
- ngneer 8y agoHow come GPU instruction set architectures are relatively under-documented compared to x86? If anything, better results can be attained if more is known, https://research.google.com/pubs/archive/45226.pdf https://research.google.com/pubs/archive/45226.pdf
- monocasa 8y agoBecause they don't want to be tied to an ISA and it's backwards compatibility requirements. They've heavily changed the underlying ISA many times in the past twenty years or so, even shifting paradigms. They've gone from horizontal microcode, to VLIW, to RISC-esque SIMD, and want the freedom to keep changing it up.
- ChuckMcM 8y agoI am guessing that is a big part of it, avoiding patent litigation is another. There are a zillion patents around GPUs that it is difficult to prove the someone is using without more information about the internals. Back when I signed the S3 NDA/License agreement to get access to their underlying architecture there were specific clauses in that agreement that said I would agree to indemnify them if anyone brought patent litigation against them as are result of information I disclosed. It was unusual enough for me to remember it all these years later.
- dragontamer 8y agoThis is architecture documentation. The ISA doesn't belong in this document. The GPU Instruction Set will almost assuredly be published as well. https://software.intel.com/en-us/articles/introduction-to-gen-assembly https://software.intel.com/en-us/articles/introduction-to-ge... https://01.org/linuxgraphics/documentation/hardware-specification-prms https://01.org/linuxgraphics/documentation/hardware-specific... Both Intel and AMD release documentation on the raw assembly language of their GPUs. ------- Only NVidia really "hides" their SASS (lowest level assembly language). But NVidia has very good documentation on PTX-assembly, which is practically as low level as you need. People who have reverse-engineered SASS have noticed that SASS grossly changes between NVidia architectures. Basically, NVidia doesn't want to be tied down to any decision between GPU generations. So they publish PTX documentation (a very low-level GPU-assembly language which is reinterpreted between generations), but keep the SASS stuff pseudo-secret. You can still figure out SASS through NVidia tools... if you think you need to see under the hood. They have compilers, disassemblers, and such available. But its mostly undocumented and changes grossly between generations. Its probably not worth the effort to learn.
- dragontamer 8y agoMajor thoughts that come to my mind: * Shared / Local memory is moved from L3 cache (in Gen9) to inside of a subslice (I presume L2 or L1 speeds?? Hard to tell... from this overview). SLM is now independent from the cache-structure, so it works far more similarly to AMD / NVidia GPUs. SLM can be used as fast gather/scatter operations without using "The Dataport" (Intel's load/store to L3). * Bunch of DX12 features -- Hard for me to fully understand, since I'm not really a graphics programmer. Coarse Pixel Shading looks cool, and should reduce bandwidth to DDR4 (a far bigger deal on iGPUs which are very bandwidth limited). * Seems to be 4-levels of cache? L3 is in the iGPU, but the L3 of the CPU is called "LLC" (last-level cache). So it looks like iGPU L4 coincides with the CPU's L3 cache? Am I reading this correctly?
- baybal2 8y agoIn GPUs, in my opinion, having laggy cache is nowhere near as scary as in CPU. GPU caches are said to be all about prefetch logic.
- dragontamer 8y agoI agree in principle, but the SLM isn't a "cache", at least the equivalent of it in AMD and NVidia GPUs. AMD LDS and NVidia Shared Memory is extremely fast. Best-case scenario throughput of one AMD LDS operation every 2-clock cycles. That's 64-threads performing a 32-bit load or store operation (64x32-bit load/store operations) in just 2-clock cycles (assuming you have no bank-conflicts / ideal situations)... per AMD execution unit. You ain't got nothing on the power of this gather/scatter to AMD LDS. We're talking ~TBps bandwidth here, not GBps... with incredibly low latency guarantees. My understanding is that NVidia would perform this operation at a similar speed to its shared memory (under similar "no bank conflicts" situations) per SM. NVidia shares their "shared memory" with L1 cache (so yeah, the architecture is different than AMD), but its performance is also huge and measured in ~TBps. Note that this gather/scatter is synchronized between all 64-threads on a AMD workgroup, or all 32-threads of a NVidia warp. As such, you have ~2-cycles of latency between thread communications in the ideal case. As such, SLM isn't "cache". Its the simplest (and 2nd fastest way) to share data between threads in a workgroup (there are harder-to-use "shuffle" intrinsics available, if you have static thread communications, such as those found in a sorting network... or in a "reduce" operation). And Intel's implementation of it in Gen9 was far slower than its competitors. Intel is at least claiming that they fixed this problem in Gen11. I'm cautiously optimistic: 3rd party benchmarks on Gen11 iGPUs would be nice to confirm if they really sped up SLM as much as it looks like. --------- EDIT: Now that I think of it, maybe you were replying to my Point#3. At which point... yeah, I agree with you. Its hard to tell what part of my post you were addressing though.
- deleted 8y ago[deleted]
- ceoddevelopment 8y agoRemove memory capability and you rich again, bitch