blob: 0663ca26dbaad729038a4e1612a1650f036fc653 [file] [log] [blame]
#include <metal_stdlib>
using namespace metal;
int subgroupAdd_ba53f9() {
int res = simd_sum(1);
return res;
}
fragment void fragment_main(device int* tint_symbol [[buffer(0)]]) {
*(tint_symbol) = subgroupAdd_ba53f9();
return;
}
kernel void compute_main(device int* tint_symbol_1 [[buffer(0)]]) {
*(tint_symbol_1) = subgroupAdd_ba53f9();
return;
}