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

Class Params

examples/gpu_puzzles/key.cpp:144–146  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

142 Tensor input = createTensor(ctx, {N, N}, kf32, makeData<N * N>().data());
143 Tensor output = createTensor(ctx, {N, N}, kf32);
144 struct Params {
145 uint32_t size = N;
146 };
147 Kernel op =
148 createKernel(ctx, {kPuzzle4, /*workgroup size*/ {Wx, Wy, 1}},
149 Bindings{input, output}, /* totalWorkgroups */ {1, 1, 1}, Params{N});

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected