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