MCPcopy Create free account
hub / github.com/clMathLibraries/clBLAS / assignKargs

Function assignKargs

src/library/blas/gens/swap_reg.cpp:258–275  ·  view source on GitHub ↗

__kernel void %PREFIXswap_kernel( __global %TYPE *_X, __global %TYPE *_Y, uint N, uint offx, int incx, uint offy, int incy ) */

Source from the content-addressed store, hash-verified

256
257*/
258static void
259assignKargs(KernelArg *args, const void *params, const void* )
260{
261 CLBlasKargs *blasArgs = (CLBlasKargs*)params;
262 cl_int incx, incy;
263
264 INIT_KARG(&args[0], blasArgs->A);
265 INIT_KARG(&args[1], blasArgs->B);
266 initSizeKarg(&args[2], blasArgs->N);
267 initSizeKarg(&args[3], blasArgs->offBX);
268 incx = blasArgs->ldb.Vector;
269 INIT_KARG(&args[4], incx);
270 initSizeKarg(&args[5], blasArgs->offCY);
271 incy = blasArgs->ldc.Vector;
272 INIT_KARG(&args[6], incy);
273
274 return;
275}

Callers

nothing calls this directly

Calls 1

initSizeKargFunction · 0.85

Tested by

no test coverage detected