PaStiX Handbook  6.3.2
bvec_zcompute.c File Reference
#include "common.h"
#include <math.h>
#include "lapacke.h"
#include "bcsc/bcsc.h"
#include "bcsc_z.h"
#include "order/order_internal.h"
#include "frobeniusupdate.h"
#include "cblas.h"
#include "blend/solver.h"

Go to the source code of this file.

Functions

static void pthread_bvec_znrm2 (isched_thread_t *ctx, void *args)
 Compute the norm 2 of a vector. (Parallel version) More...
 
static void pthread_bvec_zscal (isched_thread_t *ctx, void *args)
 Scale a vector (Parallel version) More...
 
static void pthread_bvec_zaxpy (isched_thread_t *ctx, void *args)
 Compute y <- alpha * x + y (Parallel version). More...
 
static void pthread_bvec_zdotu (isched_thread_t *ctx, void *args)
 Compute the scalar product x.y. (Parallel version) More...
 
static void pthread_bvec_zcopy (isched_thread_t *ctx, void *args)
 Copy a vector y = x (parallel version) More...
 
static void pthread_bvec_zgemv (isched_thread_t *ctx, void *args)
 Compute. More...
 
PastixComplex64 vector(s) operations
double bvec_znrm2_seq (pastix_data_t *pastix_data, pastix_int_t n, const pastix_complex64_t *x)
 Compute the norm 2 of a vector. (Sequential version) More...
 
double bvec_znrm2_smp (pastix_data_t *pastix_data, pastix_int_t n, const pastix_complex64_t *x)
 Compute the norm 2 of a vector. (Parallel version) More...
 
void bvec_zscal_seq (pastix_data_t *pastix_data, pastix_int_t n, pastix_complex64_t alpha, pastix_complex64_t *x)
 Scale a vector by the scalar alpha. (Sequential version) More...
 
void bvec_zscal_smp (pastix_data_t *pastix_data, pastix_int_t n, pastix_complex64_t alpha, pastix_complex64_t *x)
 Scale a vector (Parallel version) More...
 
void bvec_zaxpy_seq (pastix_data_t *pastix_data, pastix_int_t n, pastix_complex64_t alpha, const pastix_complex64_t *x, pastix_complex64_t *y)
 Compute y <- alpha * x + y. (Sequential version) More...
 
void bvec_zaxpy_smp (pastix_data_t *pastix_data, pastix_int_t n, pastix_complex64_t alpha, const pastix_complex64_t *x, pastix_complex64_t *y)
 Perform y = alpha * x + y (Parallel version) More...
 
pastix_complex64_t bvec_zdotu_seq (pastix_data_t *pastix_data, pastix_int_t n, const pastix_complex64_t *x, const pastix_complex64_t *y)
 Compute the scalar product x.y. (Sequential version) More...
 
pastix_complex64_t bvec_zdotu_smp (pastix_data_t *pastix_data, pastix_int_t n, const pastix_complex64_t *x, const pastix_complex64_t *y)
 Compute a regular scalar product x.y (Parallel version) More...
 
void bvec_zcopy_seq (pastix_data_t *pastix_data, pastix_int_t n, const pastix_complex64_t *x, pastix_complex64_t *y)
 Copy a vector y = x (Sequential version) More...
 
void bvec_zcopy_smp (pastix_data_t *pastix_data, pastix_int_t n, const pastix_complex64_t *x, pastix_complex64_t *y)
 Copy a vector y = x (parallel version) More...
 
void bvec_zgemv_seq (pastix_data_t *pastix_data, pastix_int_t m, pastix_int_t n, pastix_complex64_t alpha, const pastix_complex64_t *A, pastix_int_t lda, const pastix_complex64_t *x, pastix_complex64_t beta, pastix_complex64_t *y)
 Compute. More...
 
void bvec_zgemv_smp (pastix_data_t *pastix_data, pastix_int_t m, pastix_int_t n, pastix_complex64_t alpha, const pastix_complex64_t *A, pastix_int_t lda, const pastix_complex64_t *x, pastix_complex64_t beta, pastix_complex64_t *y)
 Compute. More...
 
PastixComplex64 matrix operations
void bcsc_zspsv (pastix_data_t *pastix_data, pastix_complex64_t *b, pastix_complex32_t *work)
 Solve A x = b with A the sparse matrix. More...
 
PastixComplex64 MPI vector operations
void bvec_znullify_remote (const pastix_data_t *pastix_data, pastix_complex64_t *y)
 Set to 0 remote coefficients. More...
 
const pastix_complex64_t * bvec_zgather_remote (const pastix_data_t *pastix_data, const pastix_complex64_t *y)
 Gather a distributed right hand side (bvec storage) on all nodes. More...
 
void bvec_zallreduce (const pastix_data_t *pastix_data, pastix_complex64_t *y)
 Apply an all reduce of the vector on all nodes. More...
 

Detailed Description

Functions computing operations on the BCSC.

Version
6.3.2
Author
Mathieu Faverge
Pierre Ramet
Xavier Lacoste
Gregoire Pichon
Theophile Terraz
Tony Delarue
Vincent Bridonneau
Date
2023-07-21
Generated arithmetic file
from /builds/solverstack/pastix/bcsc/bvec_zcompute.c, normal z -> z, Wed Dec 13 12:09:45 2023

Definition in file bvec_zcompute.c.