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

Function sprintfOffABC

src/library/blas/gens/gemm.c:297–312  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

295//-----------------------------------------------------------------------------
296
297static void
298sprintfOffABC(
299 char *str,
300 KernelExtraFlags kflags)
301{
302 str[0] = '\0';
303 if (kflags & KEXTRA_A_OFF_NOT_ZERO) {
304 str += sprintf(str, ",\n const uint offA");
305 }
306 if (kflags & KEXTRA_BX_OFF_NOT_ZERO) {
307 str += sprintf(str, ",\n const uint offB");
308 }
309 if (kflags & KEXTRA_CY_OFF_NOT_ZERO) {
310 str += sprintf(str, ",\n const uint offC");
311 }
312}
313
314static void
315declareKernel(

Callers 1

declareKernelFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected