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

Function accProcessed

src/library/blas/generic/solution_assert.c:106–124  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

104}
105
106static void
107accProcessed(ListNode *node, void *priv)
108{
109 SolArea *a1 = container_of(node, node, SolArea);
110 SolArea *a2 = (SolArea*)priv;
111
112 if (!isIntersected(a1->offsetM, a1->M, a2->offsetM, a2->M)) {
113 a2->M += a1->M;
114 if (a2->offsetM > a1->offsetM) {
115 a2->offsetM = a1->offsetM;
116 }
117 }
118 if (!isIntersected(a1->offsetN, a1->N, a2->offsetN, a2->N)) {
119 a2->N += a1->N;
120 if (a2->offsetN > a1->offsetN) {
121 a2->offsetN = a1->offsetN;
122 }
123 }
124}
125
126static int
127solAreaCmp(ListNode *a, const void *b)

Callers

nothing calls this directly

Calls 1

isIntersectedFunction · 0.85

Tested by

no test coverage detected