blob: 7e83378a25505040d2bdfdbf21f0b49b51d0f152 [file] [log] [blame] [edit]
#include <metal_stdlib>
using namespace metal;
int func(thread int* const pointer) {
return (*pointer);
}
[[max_total_threads_per_threadgroup(1)]]
kernel void v() {
int F = 0;
int const r = func((&F));
}