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

Public Member Functions

None __init__ (self, context context, numpy.ndarray[numpy.uint32] h_data)
 TODO. More...
 
None __init__ (self, context context, obj_uint 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_uint 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_uint arg0, int arg1, int arg2)
 TODO. More...
 
None copy_from (self, obj_uint data, int nb_elem=-1)
 TODO. More...
 
None copy_into (self, obj_uint 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.uint32] data)
 TODO. More...
 
obj_uint dgmm (self, obj_uint vectX, int alpha=1, str side='r', obj_uint 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_uint source, int incx=1, int incy=1)
 TODO. More...
 
None fft (self, obj_uint dest=None, int direction=1)
 
obj_uint geam (self, obj_uint matB, str opA='N', str opB='N', int alpha=1, obj_uint matC=None, int beta=0)
 this method performs the symmetric rank- k update More...
 
obj_uint gemm (self, obj_uint matB, str op_a='N', str op_b='N', int alpha=1, obj_uint 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_uint gemv (self, obj_uint vectx, int alpha=1, str op='N', obj_uint vecty=None, int beta=0)
 this method performs one of the matrix‐vector operations vecty = alpha * op(mat) * vectx + beta * vecty More...
 
obj_uint ger (self, obj_uint vecty, obj_uint 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.uint32] 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_uint magma_gemv (self, obj_uint vectx, int alpha=1, str op='N', obj_uint 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_uint 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_uint source, int incx=1, int incy=1)
 TODO. More...
 
None swap_ptr (self, obj_uint ptr)
 TODO. More...
 
obj_uint symm (self, obj_uint matB, int alpha=1, obj_uint 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_uint symv (self, obj_uint vectx, int alpha=1, str uplo='l', obj_uint vecty=None, int beta=0)
 this method performs one of the matrix‐vector operations vecty = alpha * mat * vectx + beta * vecty More...
 
obj_uint syrk (self, str fill='U', str op='N', int alpha=1, obj_uint matC=None, int beta=0)
 this method performs the symmetric rank- k update More...
 
obj_uint syrkx (self, obj_uint matB, str fill='U', str op='N', int alpha=1, obj_uint matC=None, int beta=0)
 this method performs the symmetric rank- k update More...
 
object to_cupy (self)
 TODO. More...
 
int transpose (self, obj_uint 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 1480 of file carmaWrap.py.

Constructor & Destructor Documentation

◆ __init__() [1/2]

None carmaWrap.obj_uint.__init__ (   self,
context  context,
numpy.ndarray[numpy.uint32]  h_data 
)

TODO.

   TODO

Definition at line 1487 of file carmaWrap.py.

Here is the caller graph for this function:

◆ __init__() [2/2]

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

Definition at line 1489 of file carmaWrap.py.

Here is the call graph for this function:

Member Function Documentation

◆ __repr__()

str carmaWrap.obj_uint.__repr__ (   self)

Definition at line 1490 of file carmaWrap.py.

◆ add_stream() [1/2]

int carmaWrap.obj_uint.add_stream (   self)

TODO.

   TODO

Definition at line 1497 of file carmaWrap.py.

Here is the caller graph for this function:

◆ add_stream() [2/2]

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

Definition at line 1499 of file carmaWrap.py.

Here is the call graph for this function:

◆ aimax()

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

TODO.

Definition at line 1503 of file carmaWrap.py.

◆ aimin()

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

TODO.

Definition at line 1507 of file carmaWrap.py.

◆ asum()

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

TODO.

Definition at line 1511 of file carmaWrap.py.

◆ axpy()

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

TODO.

Definition at line 1515 of file carmaWrap.py.

◆ clip()

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

TODO.

Definition at line 1519 of file carmaWrap.py.

◆ copy()

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

TODO.

Definition at line 1523 of file carmaWrap.py.

◆ copy_from()

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

TODO.

Definition at line 1527 of file carmaWrap.py.

◆ copy_into()

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

TODO.

Definition at line 1531 of file carmaWrap.py.

◆ del_stream() [1/2]

int carmaWrap.obj_uint.del_stream (   self)

TODO.

   TODO

Definition at line 1538 of file carmaWrap.py.

Here is the caller graph for this function:

◆ del_stream() [2/2]

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

Definition at line 1540 of file carmaWrap.py.

Here is the call graph for this function:

◆ destroy_prng()

int carmaWrap.obj_uint.destroy_prng (   self)

Definition at line 1541 of file carmaWrap.py.

◆ destroy_prng_host()

int carmaWrap.obj_uint.destroy_prng_host (   self)

Definition at line 1542 of file carmaWrap.py.

◆ device2host()

None carmaWrap.obj_uint.device2host (   self,
numpy.ndarray[numpy.uint32]  data 
)

TODO.

Definition at line 1546 of file carmaWrap.py.

◆ dgmm()

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

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

Definition at line 1550 of file carmaWrap.py.

◆ dot()

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

TODO.

Definition at line 1554 of file carmaWrap.py.

◆ fft()

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

Definition at line 1555 of file carmaWrap.py.

◆ geam()

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

this method performs the symmetric rank- k update

Definition at line 1559 of file carmaWrap.py.

◆ gemm()

obj_uint carmaWrap.obj_uint.gemm (   self,
obj_uint  matB,
str   op_a = 'N',
str   op_b = 'N',
int   alpha = 1,
obj_uint   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 1563 of file carmaWrap.py.

◆ gemv()

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

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

Definition at line 1567 of file carmaWrap.py.

◆ ger()

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

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

Definition at line 1571 of file carmaWrap.py.

◆ host2device()

None carmaWrap.obj_uint.host2device (   self,
numpy.ndarray[numpy.uint32]  data 
)

TODO.

Definition at line 1575 of file carmaWrap.py.

◆ init_prng() [1/2]

int carmaWrap.obj_uint.init_prng (   self)

Definition at line 1577 of file carmaWrap.py.

Here is the caller graph for this function:

◆ init_prng() [2/2]

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

Definition at line 1579 of file carmaWrap.py.

Here is the call graph for this function:

◆ init_prng_host()

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

Definition at line 1580 of file carmaWrap.py.

◆ init_reduceCub()

None carmaWrap.obj_uint.init_reduceCub (   self)

TODO.

Definition at line 1584 of file carmaWrap.py.

◆ is_rng_init()

bool carmaWrap.obj_uint.is_rng_init (   self)

Definition at line 1585 of file carmaWrap.py.

◆ magma_gemv()

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

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

Definition at line 1589 of file carmaWrap.py.

◆ nrm2()

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

TODO.

Definition at line 1593 of file carmaWrap.py.

◆ prng() [1/5]

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

Definition at line 1597 of file carmaWrap.py.

Here is the call graph for this function:

◆ prng() [2/5]

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

Definition at line 1595 of file carmaWrap.py.

Here is the caller graph for this function:

◆ prng() [3/5]

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

Definition at line 1603 of file carmaWrap.py.

Here is the call graph for this function:

◆ prng() [4/5]

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

Definition at line 1601 of file carmaWrap.py.

Here is the call graph for this function:

◆ prng() [5/5]

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

Definition at line 1599 of file carmaWrap.py.

Here is the call graph for this function:

◆ prng_host() [1/3]

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

Definition at line 1605 of file carmaWrap.py.

Here is the caller graph for this function:

◆ prng_host() [2/3]

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

Definition at line 1607 of file carmaWrap.py.

Here is the call graph for this function:

◆ prng_host() [3/3]

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

Definition at line 1609 of file carmaWrap.py.

Here is the call graph for this function:

◆ prng_montagn()

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

Definition at line 1610 of file carmaWrap.py.

◆ random()

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

Definition at line 1611 of file carmaWrap.py.

◆ random_host()

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

Definition at line 1612 of file carmaWrap.py.

◆ reduceCub()

None carmaWrap.obj_uint.reduceCub (   self)

TODO.

Definition at line 1616 of file carmaWrap.py.

◆ reset()

int carmaWrap.obj_uint.reset (   self)

TODO.

Definition at line 1620 of file carmaWrap.py.

◆ rot()

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

TODO.

Definition at line 1624 of file carmaWrap.py.

◆ scale()

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

TODO.

Definition at line 1628 of file carmaWrap.py.

◆ sum()

int carmaWrap.obj_uint.sum (   self)

TODO.

Definition at line 1632 of file carmaWrap.py.

◆ swap()

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

TODO.

Definition at line 1636 of file carmaWrap.py.

◆ swap_ptr()

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

TODO.

Definition at line 1640 of file carmaWrap.py.

◆ symm()

obj_uint carmaWrap.obj_uint.symm (   self,
obj_uint  matB,
int   alpha = 1,
obj_uint   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 1644 of file carmaWrap.py.

◆ symv()

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

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

Definition at line 1648 of file carmaWrap.py.

◆ syrk()

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

this method performs the symmetric rank- k update

Definition at line 1652 of file carmaWrap.py.

◆ syrkx()

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

this method performs the symmetric rank- k update

Definition at line 1656 of file carmaWrap.py.

◆ to_cupy()

object carmaWrap.obj_uint.to_cupy (   self)

TODO.

Definition at line 1660 of file carmaWrap.py.

◆ transpose()

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

TODO.

Definition at line 1664 of file carmaWrap.py.

◆ wait_all_streams()

int carmaWrap.obj_uint.wait_all_streams (   self)

TODO.

Definition at line 1668 of file carmaWrap.py.

◆ wait_stream()

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

TODO.

Definition at line 1672 of file carmaWrap.py.

Property Documentation

◆ context

carmaWrap.obj_uint.context = property
static

TODO.

   @n type of :  context

Definition at line 1679 of file carmaWrap.py.

◆ d_ptr

carmaWrap.obj_uint.d_ptr = property
static

TODO.

   @n type of :  int

Definition at line 1688 of file carmaWrap.py.

◆ device

carmaWrap.obj_uint.device = property
static

TODO.

   @n type of :  int

Definition at line 1697 of file carmaWrap.py.

◆ nb_streams

carmaWrap.obj_uint.nb_streams = property
static

TODO.

   @n type of :  int

Definition at line 1715 of file carmaWrap.py.

◆ nbElem

carmaWrap.obj_uint.nbElem = property
static

TODO.

   @n type of :  int

Definition at line 1706 of file carmaWrap.py.

◆ o_data

carmaWrap.obj_uint.o_data = property
static

TODO.

   @n type of :  int

Definition at line 1724 of file carmaWrap.py.

◆ shape

carmaWrap.obj_uint.shape = property
static

TODO.

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

Definition at line 1733 of file carmaWrap.py.


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