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