blob: 6d89b0d419e2dac7a134ca46d04175971ecaf072 [file] [log] [blame]
#include <metal_stdlib>
using namespace metal;
uint4 subgroupExclusiveAdd_ec300f() {
uint4 arg_0 = uint4(1u);
uint4 res = simd_prefix_exclusive_sum(arg_0);
return res;
}
fragment void fragment_main(device uint4* tint_symbol [[buffer(0)]]) {
*(tint_symbol) = subgroupExclusiveAdd_ec300f();
return;
}
kernel void compute_main(device uint4* tint_symbol_1 [[buffer(0)]]) {
*(tint_symbol_1) = subgroupExclusiveAdd_ec300f();
return;
}