| 159 | } |
| 160 | |
| 161 | static void |
| 162 | nc_add( npy_intp n, npy_complex64 *a, npy_intp sb1, npy_complex64 *b, npy_intp sb2, npy_complex64 *r ) |
| 163 | { |
| 164 | if( sb1 == sizeof(npy_complex64) && sb2 == sizeof(npy_complex64) ) { // Aligned |
| 165 | for( npy_intp I = 0; I < n; I++ ) { |
| 166 | _inline_add( a[I], b[I], r[I] ); |
| 167 | } |
| 168 | } |
| 169 | else { |
| 170 | sb2 /= sizeof(npy_complex64); |
| 171 | sb1 /= sizeof(npy_complex64); |
| 172 | for( npy_intp I = 0; I < n; I++ ) { |
| 173 | _inline_add( a[I*sb1], b[I*sb2], r[I] ); |
| 174 | } |
| 175 | } |
| 176 | } |
| 177 | |
| 178 | static void |
| 179 | nc_add( npy_intp n, npy_complex128 *a, npy_intp sb1, npy_complex128 *b, npy_intp sb2, npy_complex128 *r ) |
nothing calls this directly
no test coverage detected
searching dependent graphs…