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