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