blob: c2b6d2e99e4ab04b34ff5082bd7a0df7077f528d [file] [log] [blame]
#include <metal_stdlib>
using namespace metal;
void func(thread float4* const pointer) {
(*pointer) = float4(0.0f);
}
[[max_total_threads_per_threadgroup(1)]]
kernel void v() {
float4 F = 0.0f;
func((&F));
}