MCPcopy Create free account
hub / github.com/AnswerDotAI/gpu.cpp / Params

Class Params

examples/gpu_puzzles/run.cpp:129–131  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

127 Tensor input = createTensor(ctx, {N, N}, kf32, makeData<N * N>().data());
128 Tensor output = createTensor(ctx, {N, N}, kf32);
129 struct Params {
130 uint32_t size = N;
131 };
132 Kernel op =
133 createKernel(ctx, {kPuzzle4, /*workgroup size*/ {Wx, Wy, 1}},
134 Bindings{input, output}, /* nWorkgroups */ {1, 1, 1}, Params{N});

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected