#include <metal_stdlib> | |
using namespace metal; | |
half subgroupAdd_225207() { | |
half arg_0 = 1.0h; | |
half res = simd_sum(arg_0); | |
return res; | |
} | |
fragment void fragment_main(device half* tint_symbol [[buffer(0)]]) { | |
*(tint_symbol) = subgroupAdd_225207(); | |
return; | |
} | |
kernel void compute_main(device half* tint_symbol_1 [[buffer(0)]]) { | |
*(tint_symbol_1) = subgroupAdd_225207(); | |
return; | |
} | |