#include <metal_stdlib> | |
using namespace metal; | |
float2 subgroupInclusiveMul_01dc9b() { | |
float2 res = simd_prefix_inclusive_product(float2(1.0f)); | |
return res; | |
} | |
fragment void fragment_main(device float2* tint_symbol [[buffer(0)]]) { | |
*(tint_symbol) = subgroupInclusiveMul_01dc9b(); | |
return; | |
} | |
kernel void compute_main(device float2* tint_symbol_1 [[buffer(0)]]) { | |
*(tint_symbol_1) = subgroupInclusiveMul_01dc9b(); | |
return; | |
} | |