← all commits

8f1b45144afe

view on Codeberg ↗

amdgcn: lower a kernel that stores through a pointer argument

build

statuscompiler
build time33.0s
peak RSS1843 MB
cachewarm
machineLinux/x86_64, AMD EPYC-Rome Processor, 4 cores, 7.6 GB RAM
bootstrap zig0.17.0-dev.1252+e4b325c19
downloadcompiler (.zst)

metrics

occupancy = wavefronts per SIMD (higher is better); derived from VGPR count for gfx1100.

kernelmetricvalueoccupancy
empty.ziginstructions1-
empty.zigkernarg_bytes0-
empty.ziglds_bytes0-
empty.zigscratch_bytes0-
empty.zigsgpr0-
empty.zigtext_bytes4-
empty.zigvgpr016
store_const.ziginstructions6-
store_const.zigkernarg_bytes8-
store_const.ziglds_bytes0-
store_const.zigscratch_bytes0-
store_const.zigsgpr2-
store_const.zigtext_bytes36-
store_const.zigvgpr216

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(
~~~~~~~^~