blob: ffae014d1c3f24790a4eadd0189a7a8250d25aa6 [file] [edit]
#include <metal_stdlib>
using namespace metal;
[[max_total_threads_per_threadgroup(1)]]
kernel void f() {
half3 const a = half3(1.0h, 2.0h, 3.0h);
half3 const b = half3(4.0h, 5.0h, 6.0h);
half3 const r = (a + b);
}