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

Function solAreaCmp

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

Source from the content-addressed store, hash-verified

124}
125
126static int
127solAreaCmp(ListNode *a, const void *b)
128{
129 SolArea *area = container_of(a, node, SolArea);
130 const CLBlasKargs *kargs = (const CLBlasKargs*)b;
131 int ret;
132
133 ret = isIntersected(kargs->offsetM, kargs->M,
134 area->offsetM, area->M);
135 ret = ret && isIntersected(kargs->offsetN, kargs->N,
136 area->offsetN, area->N);
137
138 return !ret;
139}
140
141void VISIBILITY_HIDDEN
142assertImageSubstep(

Callers

nothing calls this directly

Calls 1

isIntersectedFunction · 0.85

Tested by

no test coverage detected