__kernel void %PREFIXswap_kernel( __global %TYPE *_X, __global %TYPE *_Y, uint N, uint offx, int incx, uint offy, int incy ) */
| 256 | |
| 257 | */ |
| 258 | static void |
| 259 | assignKargs(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 | } |
nothing calls this directly
no test coverage detected