Overhaul the validation workflow around sharded authored cases, dependency-exact observations, incremental indexed corpus audits, bounded parallel translation, and native Metal/Vulkan comparison.\n\nExpand native AIR lowering, reflection, linked-function specialization, resource and stage-interface support, and structural CFG/pointer repair across the harvested macOS 26 corpus. Add exact intrinsic inventory, distributed 16x16x16 matrix lowering, explicit opaque tensor linkage, and regression coverage for the newly supported feature classes.\n\nThe final corpus verification accounts for all 88,819 indexed AIR modules under the current product fingerprint: 65,355 translate and validate directly, 23,464 require exact authored linkage, and zero fail or remain unresolved.
18 lines
914 B
LLVM
18 lines
914 B
LLVM
; Owned synthetic fixture for the authored threadgroup-memory execution contract.
|
|
; Not derived from a third-party metallib.
|
|
source_filename = "kernel_threadgroup_word.metal"
|
|
|
|
define void @threadgroup_word(ptr addrspace(3) %scratch, ptr addrspace(1) %output) {
|
|
store i32 42, ptr addrspace(3) %scratch, align 4
|
|
%value = load i32, ptr addrspace(3) %scratch, align 4
|
|
store i32 %value, ptr addrspace(1) %output, align 4
|
|
ret void
|
|
}
|
|
|
|
!air.kernel = !{!0}
|
|
!0 = !{ptr @threadgroup_word, !1, !2}
|
|
!1 = !{}
|
|
!2 = !{!3, !4}
|
|
!3 = !{i32 0, !"air.buffer", !"air.buffer_size", i32 4, !"air.location_index", i32 0, i32 1, !"air.read_write", !"air.address_space", i32 3, !"air.arg_type_name", !"uint", !"air.arg_name", !"scratch"}
|
|
!4 = !{i32 1, !"air.buffer", !"air.buffer_size", i32 4, !"air.location_index", i32 1, i32 1, !"air.write", !"air.address_space", i32 1, !"air.arg_type_name", !"uint", !"air.arg_name", !"output"}
|