first-kernel / first_kernel_metal /first_kernel.metal
drbh
feat: push full template and build to repo
f9791fd
#include <metal_stdlib>
using namespace metal;
kernel void first_kernel_kernel(device const float *input [[buffer(0)]],
device float *output [[buffer(1)]],
uint index [[thread_position_in_grid]]) {
output[index] = input[index] + 1.0f;
}