← all commits
8f1b45144afe
view on Codeberg ↗
amdgcn: lower a kernel that stores through a pointer argument
build
| status | compiler |
| build time | 33.0s |
| peak RSS | 1843 MB |
| cache | warm |
| machine | Linux/x86_64, AMD EPYC-Rome Processor, 4 cores, 7.6 GB RAM |
| bootstrap zig | 0.17.0-dev.1252+e4b325c19 |
| download | compiler (.zst) |
metrics
occupancy = wavefronts per SIMD (higher is better); derived from VGPR count for gfx1100.
| kernel | metric | value | occupancy |
|---|
| empty.zig | instructions | 1 | - |
| empty.zig | kernarg_bytes | 0 | - |
| empty.zig | lds_bytes | 0 | - |
| empty.zig | scratch_bytes | 0 | - |
| empty.zig | sgpr | 0 | - |
| empty.zig | text_bytes | 4 | - |
| empty.zig | vgpr | 0 | 16 |
| store_const.zig | instructions | 6 | - |
| store_const.zig | kernarg_bytes | 8 | - |
| store_const.zig | lds_bytes | 0 | - |
| store_const.zig | scratch_bytes | 0 | - |
| store_const.zig | sgpr | 2 | - |
| store_const.zig | text_bytes | 36 | - |
| store_const.zig | vgpr | 2 | 16 |
compile failures
splat.zig
/root/drift-scratch/splat.zig:3:8: error: amdgcn backend cannot yet lower: more than one kernel argument
export fn splat(
~~~~~~~^~