Octopus
batch_ops_oct_m::batch_axpy Interface Reference

batchified version of the BLAS axpy routine: \( y = a*x + y \) More...

Detailed Description

batchified version of the BLAS axpy routine: \( y = a*x + y \)

Definition at line 159 of file batch_ops.F90.

Private Member Functions

subroutine dbatch_axpy_const (np, aa, xx, yy)
 This routine applies a 'pair-wise' axpy operation to all functions of the batches xx and yy, where the same constant aa is used for all functions. More...
 
subroutine zbatch_axpy_const (np, aa, xx, yy)
 This routine applies a 'pair-wise' axpy operation to all functions of the batches xx and yy, where the same constant aa is used for all functions. More...
 
subroutine dbatch_axpy_vec (np, aa, xx, yy, a_start, a_full)
 A simple switch between specialized kernels and generic kernels. More...
 
subroutine zbatch_axpy_vec (np, aa, xx, yy, a_start, a_full)
 A simple switch between specialized kernels and generic kernels. More...
 

Member Function/Subroutine Documentation

◆ dbatch_axpy_const()

subroutine batch_ops_oct_m::batch_axpy::dbatch_axpy_const ( integer, intent(in)  np,
real(real64), intent(in)  aa,
class(batch_t), intent(in)  xx,
class(batch_t), intent(inout)  yy 
)
private

This routine applies a 'pair-wise' axpy operation to all functions of the batches xx and yy, where the same constant aa is used for all functions.

Parameters
[in]npnumber of points
[in,out]yyyy(:,:) = aa*xx(:,:) + yy(:,:)

Definition at line 858 of file batch_ops.F90.

◆ zbatch_axpy_const()

subroutine batch_ops_oct_m::batch_axpy::zbatch_axpy_const ( integer, intent(in)  np,
complex(real64), intent(in)  aa,
class(batch_t), intent(in)  xx,
class(batch_t), intent(inout)  yy 
)
private

This routine applies a 'pair-wise' axpy operation to all functions of the batches xx and yy, where the same constant aa is used for all functions.

Parameters
[in]npnumber of points
[in,out]yyyy(:,:) = aa*xx(:,:) + yy(:,:)

Definition at line 2776 of file batch_ops.F90.

◆ dbatch_axpy_vec()

subroutine batch_ops_oct_m::batch_axpy::dbatch_axpy_vec ( integer, intent(in)  np,
real(real64), dimension(:), intent(in)  aa,
class(batch_t), intent(in)  xx,
class(batch_t), intent(inout)  yy,
integer, intent(in), optional  a_start,
logical, intent(in), optional  a_full 
)
private

A simple switch between specialized kernels and generic kernels.

Parameters
[in]npnumber of points
[in]aaarray of multipliers
[in,out]yyy(ist,:) = aa(ist) * x(ist,:) + y(ist,:)
[in]a_startfirst state to operate on (default = 1)
[in]a_fullIs aa of size st:nst?

Definition at line 2650 of file batch_ops.F90.

◆ zbatch_axpy_vec()

subroutine batch_ops_oct_m::batch_axpy::zbatch_axpy_vec ( integer, intent(in)  np,
complex(real64), dimension(:), intent(in)  aa,
class(batch_t), intent(in)  xx,
class(batch_t), intent(inout)  yy,
integer, intent(in), optional  a_start,
logical, intent(in), optional  a_full 
)
private

A simple switch between specialized kernels and generic kernels.

Parameters
[in]npnumber of points
[in]aaarray of multipliers
[in,out]yyy(ist,:) = aa(ist) * x(ist,:) + y(ist,:)
[in]a_startfirst state to operate on (default = 1)
[in]a_fullIs aa of size st:nst?

Definition at line 4414 of file batch_ops.F90.


The documentation for this interface was generated from the following file: