Skip to content

Commit d4e0712

Browse files
WestonJBmgates3
authored andcommitted
Added device her, her2, syr, syr2
1 parent 9eeef10 commit d4e0712

18 files changed

+2414
-0
lines changed

CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -361,12 +361,16 @@ add_library(
361361
src/device_ger.cc
362362
src/device_hemm.cc
363363
src/device_hemv.cc
364+
src/device_her.cc
365+
src/device_her2.cc
364366
src/device_her2k.cc
365367
src/device_herk.cc
366368
src/device_iamax.cc
367369
src/device_queue.cc
368370
src/device_symm.cc
369371
src/device_symv.cc
372+
src/device_syr.cc
373+
src/device_syr2.cc
370374
src/device_syr2k.cc
371375
src/device_syrk.cc
372376
src/device_asum.cc

include/blas/device_blas.hh

Lines changed: 156 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -654,6 +654,162 @@ void geru(
654654
std::complex<double>* A, int64_t lda,
655655
blas::Queue& queue );
656656

657+
//------------------------------------------------------------------------------
658+
void her(
659+
blas::Layout layout,
660+
blas::Uplo uplo,
661+
int64_t n,
662+
float alpha,
663+
float const* x, int64_t incx,
664+
float* A, int64_t lda,
665+
blas::Queue& queue );
666+
667+
void her(
668+
blas::Layout layout,
669+
blas::Uplo uplo,
670+
int64_t n,
671+
double alpha,
672+
double const* x, int64_t incx,
673+
double* A, int64_t lda,
674+
blas::Queue& queue );
675+
676+
void her(
677+
blas::Layout layout,
678+
blas::Uplo uplo,
679+
int64_t n,
680+
float alpha,
681+
std::complex<float> const* x, int64_t incx,
682+
std::complex<float>* A, int64_t lda,
683+
blas::Queue& queue );
684+
685+
void her(
686+
blas::Layout layout,
687+
blas::Uplo uplo,
688+
int64_t n,
689+
double alpha,
690+
std::complex<double> const* x, int64_t incx,
691+
std::complex<double>* A, int64_t lda,
692+
blas::Queue& queue );
693+
694+
//------------------------------------------------------------------------------
695+
void her2(
696+
blas::Layout layout,
697+
blas::Uplo uplo,
698+
int64_t n,
699+
float alpha,
700+
float const* x, int64_t incx,
701+
float const* y, int64_t incy,
702+
float* A, int64_t lda,
703+
blas::Queue& queue );
704+
705+
void her2(
706+
blas::Layout layout,
707+
blas::Uplo uplo,
708+
int64_t n,
709+
double alpha,
710+
double const* x, int64_t incx,
711+
double const* y, int64_t incy,
712+
double* A, int64_t lda,
713+
blas::Queue& queue );
714+
715+
void her2(
716+
blas::Layout layout,
717+
blas::Uplo uplo,
718+
int64_t n,
719+
std::complex<float> alpha,
720+
std::complex<float> const* x, int64_t incx,
721+
std::complex<float> const* y, int64_t incy,
722+
std::complex<float>* A, int64_t lda,
723+
blas::Queue& queue );
724+
725+
void her2(
726+
blas::Layout layout,
727+
blas::Uplo uplo,
728+
int64_t n,
729+
std::complex<double> alpha,
730+
std::complex<double> const* x, int64_t incx,
731+
std::complex<double> const* y, int64_t incy,
732+
std::complex<double>* A, int64_t lda,
733+
blas::Queue& queue );
734+
735+
//------------------------------------------------------------------------------
736+
void syr(
737+
blas::Layout layout,
738+
blas::Uplo uplo,
739+
int64_t n,
740+
float alpha,
741+
float const* x, int64_t incx,
742+
float* A, int64_t lda,
743+
blas::Queue& queue );
744+
745+
void syr(
746+
blas::Layout layout,
747+
blas::Uplo uplo,
748+
int64_t n,
749+
double alpha,
750+
double const* x, int64_t incx,
751+
double* A, int64_t lda,
752+
blas::Queue& queue );
753+
754+
void syr(
755+
blas::Layout layout,
756+
blas::Uplo uplo,
757+
int64_t n,
758+
std::complex<float> alpha,
759+
std::complex<float> const* x, int64_t incx,
760+
std::complex<float>* A, int64_t lda,
761+
blas::Queue& queue );
762+
763+
void syr(
764+
blas::Layout layout,
765+
blas::Uplo uplo,
766+
int64_t n,
767+
std::complex<double> alpha,
768+
std::complex<double> const* x, int64_t incx,
769+
std::complex<double>* A, int64_t lda,
770+
blas::Queue& queue );
771+
772+
//------------------------------------------------------------------------------
773+
void syr2(
774+
blas::Layout layout,
775+
blas::Uplo uplo,
776+
int64_t n,
777+
float alpha,
778+
float const* x, int64_t incx,
779+
float const* y, int64_t incy,
780+
float* A, int64_t lda,
781+
blas::Queue& queue );
782+
783+
void syr2(
784+
blas::Layout layout,
785+
blas::Uplo uplo,
786+
int64_t n,
787+
double alpha,
788+
double const* x, int64_t incx,
789+
double const* y, int64_t incy,
790+
double* A, int64_t lda,
791+
blas::Queue& queue );
792+
793+
void syr2(
794+
blas::Layout layout,
795+
blas::Uplo uplo,
796+
int64_t n,
797+
std::complex<float> alpha,
798+
std::complex<float> const* x, int64_t incx,
799+
std::complex<float> const* y, int64_t incy,
800+
std::complex<float>* A, int64_t lda,
801+
blas::Queue& queue );
802+
803+
void syr2(
804+
blas::Layout layout,
805+
blas::Uplo uplo,
806+
int64_t n,
807+
std::complex<double> alpha,
808+
std::complex<double> const* x, int64_t incx,
809+
std::complex<double> const* y, int64_t incy,
810+
std::complex<double>* A, int64_t lda,
811+
blas::Queue& queue );
812+
657813
//==============================================================================
658814
// Level 3 BLAS
659815

0 commit comments

Comments
 (0)