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