A Modern GPGPU API & wip linux RDNA2+ Driver
rdna driver linux gpu
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

wip

+3
+3
drivers/amdgpu/compiler/compiler.cpp
··· 89 89 // base sgpr ptr + vgpr offset. 90 90 91 91 // if we detect such a pattern we can replace with these opcodes. 92 + // global_load_dword: saddr + voff (+ imm offset) 93 + // global_load_dword: vaddr (+ imm offset) 94 + // global_load_dword_addtid: saddr (+ imm offset) + 4 * local_invocation_id 92 95 for (uint32_t i = 0; i < cc.mod.insts.size(); ++i) { 93 96 auto &inst = cc.mod.insts[i]; 94 97 if (inst.op == gir::Op::Load) {