COMPASS  5.4.4
End-to-end AO simulation tool using GPU acceleration
carmaWrap.obj_uint16 Class Reference
Collaboration diagram for carmaWrap.obj_uint16:

Public Member Functions

None __init__ (self, context context, numpy.ndarray[numpy.uint16] h_data)
 TODO. More...
 
None __init__ (self, context context, obj_uint16 d_data)
 
str __repr__ (self)
 
int add_stream (self)
 TODO. More...
 
int add_stream (self, int np)
 
int aimax (self, int incx=1)
 TODO. More...
 
int aimin (self, int incx=1)
 TODO. More...
 
int asum (self, int incx=1)
 TODO. More...
 
None axpy (self, int alpha, obj_uint16 source, int incx=1, int incy=1, int offset=0)
 TODO. More...
 
None clip (self, int data_min, int data_max)
 TODO. More...
 
None copy (self, obj_uint16 arg0, int arg1, int arg2)
 TODO. More...
 
None copy_from (self, obj_uint16 data, int nb_elem=-1)
 TODO. More...
 
None copy_into (self, obj_uint16 dest, int nb_elem=-1)
 TODO. More...
 
int del_stream (self)
 TODO. More...
 
int del_stream (self, int np)
 
int destroy_prng (self)
 
int destroy_prng_host (self)
 
None device2host (self, numpy.ndarray[numpy.uint16] data)
 TODO. More...
 
obj_uint16 dgmm (self, obj_uint16 vectX, int alpha=1, str side='r', obj_uint16 matC=None, int incx=1)
 this method performs one of the matrix‐marix operations matC = diag(vectX)*matA if side='l' More...
 
int dot (self, obj_uint16 source, int incx=1, int incy=1)
 TODO. More...
 
None fft (self, obj_uint16 dest=None, int direction=1)
 
obj_uint16 geam (self, obj_uint16 matB, str opA='N', str opB='N', int alpha=1, obj_uint16 matC=None, int beta=0)
 this method performs the symmetric rank- k update More...
 
obj_uint16 gemm (self, obj_uint16 matB, str op_a='N', str op_b='N', int alpha=1, obj_uint16 matC=None, int beta=0)
 this method performs one of the matrix‐marix operations matC = alpha * op_a(matA) * op_b(matB) + beta * matC More...
 
obj_uint16 gemv (self, obj_uint16 vectx, int alpha=1, str op='N', obj_uint16 vecty=None, int beta=0)
 this method performs one of the matrix‐vector operations vecty = alpha * op(mat) * vectx + beta * vecty More...
 
obj_uint16 ger (self, obj_uint16 vecty, obj_uint16 mat=None, int alpha=1)
 this method performs the symmetric rank 1 operation A = alpha * x * y T + A More...
 
None host2device (self, numpy.ndarray[numpy.uint16] data)
 TODO. More...
 
int init_prng (self)
 
int init_prng (self, int arg0)
 
int init_prng_host (self, int arg0)
 
None init_reduceCub (self)
 TODO. More...
 
bool is_rng_init (self)
 
obj_uint16 magma_gemv (self, obj_uint16 vectx, int alpha=1, str op='N', obj_uint16 vecty=None, int beta=0)
 this method performs one of the matrix‐vector operations vecty = alpha * op(mat) * vectx + beta * vecty More...
 
int nrm2 (self, int incx=1)
 TODO. More...
 
int prng (self, int arg0, str arg1, float arg2, float arg3)
 
int prng (self, int arg0, str arg1, float arg2)
 
int prng (self, str arg0, float arg1, float arg2)
 
int prng (self, str arg0, float arg1)
 
int prng (self, str arg0)
 
int prng_host (self, str arg0)
 
int prng_host (self, str arg0, int arg1)
 
int prng_host (self, str arg0, int arg1, int arg2)
 
int prng_montagn (self, float arg0)
 
None random (self, int seed=1234, str j='U')
 
None random_host (self, int seed=1234, str j='U')
 
None reduceCub (self)
 TODO. More...
 
int reset (self)
 TODO. More...
 
None rot (self, obj_uint16 arg0, int arg1, int arg2, int arg3, int arg4)
 TODO. More...
 
None scale (self, int scale, int incx=1)
 TODO. More...
 
int sum (self)
 TODO. More...
 
None swap (self, obj_uint16 source, int incx=1, int incy=1)
 TODO. More...
 
None swap_ptr (self, obj_uint16 ptr)
 TODO. More...
 
obj_uint16 symm (self, obj_uint16 matB, int alpha=1, obj_uint16 matC=None, int beta=0, str side='l', str uplo='u')
 this method performs one of the matrix‐marix operations matC = alpha * matA * matB + beta * C More...
 
obj_uint16 symv (self, obj_uint16 vectx, int alpha=1, str uplo='l', obj_uint16 vecty=None, int beta=0)
 this method performs one of the matrix‐vector operations vecty = alpha * mat * vectx + beta * vecty More...
 
obj_uint16 syrk (self, str fill='U', str op='N', int alpha=1, obj_uint16 matC=None, int beta=0)
 this method performs the symmetric rank- k update More...
 
obj_uint16 syrkx (self, obj_uint16 matB, str fill='U', str op='N', int alpha=1, obj_uint16 matC=None, int beta=0)
 this method performs the symmetric rank- k update More...
 
object to_cupy (self)
 TODO. More...
 
int transpose (self, obj_uint16 source)
 TODO. More...
 
int wait_all_streams (self)
 TODO. More...
 
int wait_stream (self, int steam)
 TODO. More...
 

Properties

 context = property
 TODO. More...
 
 d_ptr = property
 TODO. More...
 
 device = property
 TODO. More...
 
 nbElem = property
 TODO. More...
 
 nb_streams = property
 TODO. More...
 
 o_data = property
 TODO. More...
 
 shape = property
 TODO. More...
 

Detailed Description

Definition at line 1737 of file carmaWrap.py.

Constructor & Destructor Documentation

◆ __init__() [1/2]

None carmaWrap.obj_uint16.__init__ (   self,
context  context,
numpy.ndarray[numpy.uint16]  h_data 
)

TODO.

   TODO

Definition at line 1744 of file carmaWrap.py.

Here is the caller graph for this function:

◆ __init__() [2/2]

None carmaWrap.obj_uint16.__init__ (   self,
context  context,
obj_uint16  d_data 
)

Definition at line 1746 of file carmaWrap.py.

Here is the call graph for this function:

Member Function Documentation

◆ __repr__()

str carmaWrap.obj_uint16.__repr__ (   self)

Definition at line 1747 of file carmaWrap.py.

◆ add_stream() [1/2]

int carmaWrap.obj_uint16.add_stream (   self)

TODO.

   TODO

Definition at line 1754 of file carmaWrap.py.

Here is the caller graph for this function:

◆ add_stream() [2/2]

int carmaWrap.obj_uint16.add_stream (   self,
int  np 
)

Definition at line 1756 of file carmaWrap.py.

Here is the call graph for this function:

◆ aimax()

int carmaWrap.obj_uint16.aimax (   self,
int   incx = 1 
)

TODO.

Definition at line 1760 of file carmaWrap.py.

◆ aimin()

int carmaWrap.obj_uint16.aimin (   self,
int   incx = 1 
)

TODO.

Definition at line 1764 of file carmaWrap.py.

◆ asum()

int carmaWrap.obj_uint16.asum (   self,
int   incx = 1 
)

TODO.

Definition at line 1768 of file carmaWrap.py.

◆ axpy()

None carmaWrap.obj_uint16.axpy (   self,
int  alpha,
obj_uint16  source,
int   incx = 1,
int   incy = 1,
int   offset = 0 
)

TODO.

Definition at line 1772 of file carmaWrap.py.

◆ clip()

None carmaWrap.obj_uint16.clip (   self,
int  data_min,
int  data_max 
)

TODO.

Definition at line 1776 of file carmaWrap.py.

◆ copy()

None carmaWrap.obj_uint16.copy (   self,
obj_uint16  arg0,
int  arg1,
int  arg2 
)

TODO.

Definition at line 1780 of file carmaWrap.py.

◆ copy_from()

None carmaWrap.obj_uint16.copy_from (   self,
obj_uint16  data,
int   nb_elem = -1 
)

TODO.

Definition at line 1784 of file carmaWrap.py.

◆ copy_into()

None carmaWrap.obj_uint16.copy_into (   self,
obj_uint16  dest,
int   nb_elem = -1 
)

TODO.

Definition at line 1788 of file carmaWrap.py.

◆ del_stream() [1/2]

int carmaWrap.obj_uint16.del_stream (   self)

TODO.

   TODO

Definition at line 1795 of file carmaWrap.py.

Here is the caller graph for this function:

◆ del_stream() [2/2]

int carmaWrap.obj_uint16.del_stream (   self,
int  np 
)

Definition at line 1797 of file carmaWrap.py.

Here is the call graph for this function:

◆ destroy_prng()

int carmaWrap.obj_uint16.destroy_prng (   self)

Definition at line 1798 of file carmaWrap.py.

◆ destroy_prng_host()

int carmaWrap.obj_uint16.destroy_prng_host (   self)

Definition at line 1799 of file carmaWrap.py.

◆ device2host()

None carmaWrap.obj_uint16.device2host (   self,
numpy.ndarray[numpy.uint16]  data 
)

TODO.

Definition at line 1803 of file carmaWrap.py.

◆ dgmm()

obj_uint16 carmaWrap.obj_uint16.dgmm (   self,
obj_uint16  vectX,
int   alpha = 1,
str   side = 'r',
obj_uint16   matC = None,
int   incx = 1 
)

this method performs one of the matrix‐marix operations matC = diag(vectX)*matA if side='l'

Definition at line 1807 of file carmaWrap.py.

◆ dot()

int carmaWrap.obj_uint16.dot (   self,
obj_uint16  source,
int   incx = 1,
int   incy = 1 
)

TODO.

Definition at line 1811 of file carmaWrap.py.

◆ fft()

None carmaWrap.obj_uint16.fft (   self,
obj_uint16   dest = None,
int   direction = 1 
)

Definition at line 1812 of file carmaWrap.py.

◆ geam()

obj_uint16 carmaWrap.obj_uint16.geam (   self,
obj_uint16  matB,
str   opA = 'N',
str   opB = 'N',
int   alpha = 1,
obj_uint16   matC = None,
int   beta = 0 
)

this method performs the symmetric rank- k update

Definition at line 1816 of file carmaWrap.py.

◆ gemm()

obj_uint16 carmaWrap.obj_uint16.gemm (   self,
obj_uint16  matB,
str   op_a = 'N',
str   op_b = 'N',
int   alpha = 1,
obj_uint16   matC = None,
int   beta = 0 
)

this method performs one of the matrix‐marix operations matC = alpha * op_a(matA) * op_b(matB) + beta * matC

Definition at line 1820 of file carmaWrap.py.

◆ gemv()

obj_uint16 carmaWrap.obj_uint16.gemv (   self,
obj_uint16  vectx,
int   alpha = 1,
str   op = 'N',
obj_uint16   vecty = None,
int   beta = 0 
)

this method performs one of the matrix‐vector operations vecty = alpha * op(mat) * vectx + beta * vecty

Definition at line 1824 of file carmaWrap.py.

◆ ger()

obj_uint16 carmaWrap.obj_uint16.ger (   self,
obj_uint16  vecty,
obj_uint16   mat = None,
int   alpha = 1 
)

this method performs the symmetric rank 1 operation A = alpha * x * y T + A

Definition at line 1828 of file carmaWrap.py.

◆ host2device()

None carmaWrap.obj_uint16.host2device (   self,
numpy.ndarray[numpy.uint16]  data 
)

TODO.

Definition at line 1832 of file carmaWrap.py.

◆ init_prng() [1/2]

int carmaWrap.obj_uint16.init_prng (   self)

Definition at line 1834 of file carmaWrap.py.

Here is the caller graph for this function:

◆ init_prng() [2/2]

int carmaWrap.obj_uint16.init_prng (   self,
int  arg0 
)

Definition at line 1836 of file carmaWrap.py.

Here is the call graph for this function:

◆ init_prng_host()

int carmaWrap.obj_uint16.init_prng_host (   self,
int  arg0 
)

Definition at line 1837 of file carmaWrap.py.

◆ init_reduceCub()

None carmaWrap.obj_uint16.init_reduceCub (   self)

TODO.

Definition at line 1841 of file carmaWrap.py.

◆ is_rng_init()

bool carmaWrap.obj_uint16.is_rng_init (   self)

Definition at line 1842 of file carmaWrap.py.

◆ magma_gemv()

obj_uint16 carmaWrap.obj_uint16.magma_gemv (   self,
obj_uint16  vectx,
int   alpha = 1,
str   op = 'N',
obj_uint16   vecty = None,
int   beta = 0 
)

this method performs one of the matrix‐vector operations vecty = alpha * op(mat) * vectx + beta * vecty

Definition at line 1846 of file carmaWrap.py.

◆ nrm2()

int carmaWrap.obj_uint16.nrm2 (   self,
int   incx = 1 
)

TODO.

Definition at line 1850 of file carmaWrap.py.

◆ prng() [1/5]

int carmaWrap.obj_uint16.prng (   self,
int  arg0,
str  arg1,
float  arg2 
)

Definition at line 1854 of file carmaWrap.py.

Here is the call graph for this function:

◆ prng() [2/5]

int carmaWrap.obj_uint16.prng (   self,
int  arg0,
str  arg1,
float  arg2,
float  arg3 
)

Definition at line 1852 of file carmaWrap.py.

Here is the caller graph for this function:

◆ prng() [3/5]

int carmaWrap.obj_uint16.prng (   self,
str  arg0 
)

Definition at line 1860 of file carmaWrap.py.

Here is the call graph for this function:

◆ prng() [4/5]

int carmaWrap.obj_uint16.prng (   self,
str  arg0,
float  arg1 
)

Definition at line 1858 of file carmaWrap.py.

Here is the call graph for this function:

◆ prng() [5/5]

int carmaWrap.obj_uint16.prng (   self,
str  arg0,
float  arg1,
float  arg2 
)

Definition at line 1856 of file carmaWrap.py.

Here is the call graph for this function:

◆ prng_host() [1/3]

int carmaWrap.obj_uint16.prng_host (   self,
str  arg0 
)

Definition at line 1862 of file carmaWrap.py.

Here is the caller graph for this function:

◆ prng_host() [2/3]

int carmaWrap.obj_uint16.prng_host (   self,
str  arg0,
int  arg1 
)

Definition at line 1864 of file carmaWrap.py.

Here is the call graph for this function:

◆ prng_host() [3/3]

int carmaWrap.obj_uint16.prng_host (   self,
str  arg0,
int  arg1,
int  arg2 
)

Definition at line 1866 of file carmaWrap.py.

Here is the call graph for this function:

◆ prng_montagn()

int carmaWrap.obj_uint16.prng_montagn (   self,
float  arg0 
)

Definition at line 1867 of file carmaWrap.py.

◆ random()

None carmaWrap.obj_uint16.random (   self,
int   seed = 1234,
str   j = 'U' 
)

Definition at line 1868 of file carmaWrap.py.

◆ random_host()

None carmaWrap.obj_uint16.random_host (   self,
int   seed = 1234,
str   j = 'U' 
)

Definition at line 1869 of file carmaWrap.py.

◆ reduceCub()

None carmaWrap.obj_uint16.reduceCub (   self)

TODO.

Definition at line 1873 of file carmaWrap.py.

◆ reset()

int carmaWrap.obj_uint16.reset (   self)

TODO.

Definition at line 1877 of file carmaWrap.py.

◆ rot()

None carmaWrap.obj_uint16.rot (   self,
obj_uint16  arg0,
int  arg1,
int  arg2,
int  arg3,
int  arg4 
)

TODO.

Definition at line 1881 of file carmaWrap.py.

◆ scale()

None carmaWrap.obj_uint16.scale (   self,
int  scale,
int   incx = 1 
)

TODO.

Definition at line 1885 of file carmaWrap.py.

◆ sum()

int carmaWrap.obj_uint16.sum (   self)

TODO.

Definition at line 1889 of file carmaWrap.py.

◆ swap()

None carmaWrap.obj_uint16.swap (   self,
obj_uint16  source,
int   incx = 1,
int   incy = 1 
)

TODO.

Definition at line 1893 of file carmaWrap.py.

◆ swap_ptr()

None carmaWrap.obj_uint16.swap_ptr (   self,
obj_uint16  ptr 
)

TODO.

Definition at line 1897 of file carmaWrap.py.

◆ symm()

obj_uint16 carmaWrap.obj_uint16.symm (   self,
obj_uint16  matB,
int   alpha = 1,
obj_uint16   matC = None,
int   beta = 0,
str   side = 'l',
str   uplo = 'u' 
)

this method performs one of the matrix‐marix operations matC = alpha * matA * matB + beta * C

Definition at line 1901 of file carmaWrap.py.

◆ symv()

obj_uint16 carmaWrap.obj_uint16.symv (   self,
obj_uint16  vectx,
int   alpha = 1,
str   uplo = 'l',
obj_uint16   vecty = None,
int   beta = 0 
)

this method performs one of the matrix‐vector operations vecty = alpha * mat * vectx + beta * vecty

Definition at line 1905 of file carmaWrap.py.

◆ syrk()

obj_uint16 carmaWrap.obj_uint16.syrk (   self,
str   fill = 'U',
str   op = 'N',
int   alpha = 1,
obj_uint16   matC = None,
int   beta = 0 
)

this method performs the symmetric rank- k update

Definition at line 1909 of file carmaWrap.py.

◆ syrkx()

obj_uint16 carmaWrap.obj_uint16.syrkx (   self,
obj_uint16  matB,
str   fill = 'U',
str   op = 'N',
int   alpha = 1,
obj_uint16   matC = None,
int   beta = 0 
)

this method performs the symmetric rank- k update

Definition at line 1913 of file carmaWrap.py.

◆ to_cupy()

object carmaWrap.obj_uint16.to_cupy (   self)

TODO.

Definition at line 1917 of file carmaWrap.py.

◆ transpose()

int carmaWrap.obj_uint16.transpose (   self,
obj_uint16  source 
)

TODO.

Definition at line 1921 of file carmaWrap.py.

◆ wait_all_streams()

int carmaWrap.obj_uint16.wait_all_streams (   self)

TODO.

Definition at line 1925 of file carmaWrap.py.

◆ wait_stream()

int carmaWrap.obj_uint16.wait_stream (   self,
int  steam 
)

TODO.

Definition at line 1929 of file carmaWrap.py.

Property Documentation

◆ context

carmaWrap.obj_uint16.context = property
static

TODO.

   @n type of :  context

Definition at line 1936 of file carmaWrap.py.

◆ d_ptr

carmaWrap.obj_uint16.d_ptr = property
static

TODO.

   @n type of :  int

Definition at line 1945 of file carmaWrap.py.

◆ device

carmaWrap.obj_uint16.device = property
static

TODO.

   @n type of :  int

Definition at line 1954 of file carmaWrap.py.

◆ nb_streams

carmaWrap.obj_uint16.nb_streams = property
static

TODO.

   @n type of :  int

Definition at line 1972 of file carmaWrap.py.

◆ nbElem

carmaWrap.obj_uint16.nbElem = property
static

TODO.

   @n type of :  int

Definition at line 1963 of file carmaWrap.py.

◆ o_data

carmaWrap.obj_uint16.o_data = property
static

TODO.

   @n type of :  int

Definition at line 1981 of file carmaWrap.py.

◆ shape

carmaWrap.obj_uint16.shape = property
static

TODO.

   @n type of :  numpy.ndarray[numpy.int64]

Definition at line 1990 of file carmaWrap.py.


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