blob: d2897326188ff3be7dff9dd1d949b255da7059c0 [file] [log] [blame]
#include <metal_stdlib>
using namespace metal;
float4 subgroupInclusiveAdd_367caa() {
float4 arg_0 = float4(1.0f);
float4 res = simd_prefix_inclusive_sum(arg_0);
return res;
}
fragment void fragment_main(device float4* tint_symbol [[buffer(0)]]) {
*(tint_symbol) = subgroupInclusiveAdd_367caa();
return;
}
kernel void compute_main(device float4* tint_symbol_1 [[buffer(0)]]) {
*(tint_symbol_1) = subgroupInclusiveAdd_367caa();
return;
}