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