blob: e5936da42694791328befc48395b70b5b0099cbd [file] [log] [blame]
#include <metal_stdlib>
using namespace metal;
void func(int value, thread int* const pointer) {
(*pointer) = value;
}
[[max_total_threads_per_threadgroup(1)]]
kernel void v() {
int i = 123;
func(123, (&i));
}