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