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

Function printResult

src/samples/example_strsm.cpp:63–77  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

61}
62
63static void
64printResult(const char* str)
65{
66 size_t i, j, nrows;
67
68 printf("%s:\n", str);
69
70 nrows = (sizeof(result) / sizeof(cl_float)) / ldb;
71 for (i = 0; i < nrows; i++) {
72 for (j = 0; j < ldb; j++) {
73 printf("%.5e ", result[i * ldb + j]);
74 }
75 printf("\n");
76 }
77}
78
79int
80main(void)

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected