#include <metal_stdlib> | |
using namespace metal; | |
uint4 subgroupInclusiveMul_1cdf5c() { | |
uint4 res = simd_prefix_inclusive_product(uint4(1u)); | |
return res; | |
} | |
fragment void fragment_main(device uint4* tint_symbol [[buffer(0)]]) { | |
*(tint_symbol) = subgroupInclusiveMul_1cdf5c(); | |
return; | |
} | |
kernel void compute_main(device uint4* tint_symbol_1 [[buffer(0)]]) { | |
*(tint_symbol_1) = subgroupInclusiveMul_1cdf5c(); | |
return; | |
} | |