#include <metal_stdlib> | |
using namespace metal; | |
int subgroupAdd_ba53f9() { | |
int arg_0 = 1; | |
int res = simd_sum(arg_0); | |
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; | |
} | |