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

Function l2IsTrans

src/library/blas/generic/matrix_props.c:111–127  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

109}
110
111static bool
112l2IsTrans(KernelExtraFlags flags, MatrixRole mrole)
113{
114 bool ret;
115
116 if (mrole == MATRIX_A) {
117 bool trans = ((flags & KEXTRA_TRANS_A) != 0);
118 bool order = ((flags & KEXTRA_COLUMN_MAJOR) != 0);
119
120 ret = (trans && !order) || (!trans && order);
121 }
122 else {
123 ret = false;
124 }
125
126 return ret;
127}
128
129bool
130isMatrixConj(KernelExtraFlags flags, MatrixRole mrole)

Callers 1

isMatrixAccessColMajFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected