![]() |
MAGMA
2.7.0
Matrix Algebra for GPU and Multicore Architectures
|
Vector operations that perform \( O(n) \) work on \( O(n) \) data. More...
Modules | |
| asum: Sum vector | |
| \( \sum_i |x_i| \) | |
| axpy: Add vectors | |
| \( y = \alpha x + y \) | |
| copy: Copy vector | |
| \( y = x \) | |
| dot: Dot (inner) product | |
| \( x^T y \) or \( x^H y \) | |
| iamax: Find max element | |
| \( \text{argmax}_i\; |x_i| \) | |
| iamin: Find min element | |
| \( \text{argmin}_i\; |x_i| \) | |
| nrm2: Vector 2 norm | |
| \( ||x||_2 \) | |
| rot: Apply Givens rotation | |
| rotg: Generate Givens rotation | |
| rotm: Apply modified Givens rotation | |
| rotmg: Generate modified Givens rotation | |
| scal: Scale vector | |
| \( x = \alpha x \) | |
| swap: Swap vectors | |
| \( x <=> y \) | |
Vector operations that perform \( O(n) \) work on \( O(n) \) data.
These are memory bound, since every operation requires a memory read or write.