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