![]() |
COMPASS
5.4.4
End-to-end AO simulation tool using GPU acceleration
|
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... | |
Definition at line 1480 of file carmaWrap.py.
None carmaWrap.obj_uint.__init__ | ( | self, | |
context | context, | ||
numpy.ndarray[numpy.uint32] | h_data | ||
) |
TODO.
TODO
Definition at line 1487 of file carmaWrap.py.
str carmaWrap.obj_uint.__repr__ | ( | self | ) |
Definition at line 1490 of file carmaWrap.py.
int carmaWrap.obj_uint.add_stream | ( | self | ) |
TODO.
TODO
Definition at line 1497 of file carmaWrap.py.
int carmaWrap.obj_uint.add_stream | ( | self, | |
int | np | ||
) |
int carmaWrap.obj_uint.aimax | ( | self, | |
int | incx = 1 |
||
) |
TODO.
Definition at line 1503 of file carmaWrap.py.
int carmaWrap.obj_uint.aimin | ( | self, | |
int | incx = 1 |
||
) |
TODO.
Definition at line 1507 of file carmaWrap.py.
int carmaWrap.obj_uint.asum | ( | self, | |
int | incx = 1 |
||
) |
TODO.
Definition at line 1511 of file carmaWrap.py.
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.
None carmaWrap.obj_uint.clip | ( | self, | |
int | data_min, | ||
int | data_max | ||
) |
TODO.
Definition at line 1519 of file carmaWrap.py.
None carmaWrap.obj_uint.copy | ( | self, | |
obj_uint | arg0, | ||
int | arg1, | ||
int | arg2 | ||
) |
TODO.
Definition at line 1523 of file carmaWrap.py.
None carmaWrap.obj_uint.copy_from | ( | self, | |
obj_uint | data, | ||
int | nb_elem = -1 |
||
) |
TODO.
Definition at line 1527 of file carmaWrap.py.
None carmaWrap.obj_uint.copy_into | ( | self, | |
obj_uint | dest, | ||
int | nb_elem = -1 |
||
) |
TODO.
Definition at line 1531 of file carmaWrap.py.
int carmaWrap.obj_uint.del_stream | ( | self | ) |
TODO.
TODO
Definition at line 1538 of file carmaWrap.py.
int carmaWrap.obj_uint.del_stream | ( | self, | |
int | np | ||
) |
int carmaWrap.obj_uint.destroy_prng | ( | self | ) |
Definition at line 1541 of file carmaWrap.py.
int carmaWrap.obj_uint.destroy_prng_host | ( | self | ) |
Definition at line 1542 of file carmaWrap.py.
None carmaWrap.obj_uint.device2host | ( | self, | |
numpy.ndarray[numpy.uint32] | data | ||
) |
TODO.
Definition at line 1546 of file carmaWrap.py.
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.
int carmaWrap.obj_uint.dot | ( | self, | |
obj_uint | source, | ||
int | incx = 1 , |
||
int | incy = 1 |
||
) |
TODO.
Definition at line 1554 of file carmaWrap.py.
None carmaWrap.obj_uint.fft | ( | self, | |
obj_uint | dest = None , |
||
int | direction = 1 |
||
) |
Definition at line 1555 of file carmaWrap.py.
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.
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.
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.
this method performs the symmetric rank 1 operation A = alpha * x * y T + A
Definition at line 1571 of file carmaWrap.py.
None carmaWrap.obj_uint.host2device | ( | self, | |
numpy.ndarray[numpy.uint32] | data | ||
) |
TODO.
Definition at line 1575 of file carmaWrap.py.
int carmaWrap.obj_uint.init_prng | ( | self | ) |
int carmaWrap.obj_uint.init_prng | ( | self, | |
int | arg0 | ||
) |
int carmaWrap.obj_uint.init_prng_host | ( | self, | |
int | arg0 | ||
) |
Definition at line 1580 of file carmaWrap.py.
None carmaWrap.obj_uint.init_reduceCub | ( | self | ) |
TODO.
Definition at line 1584 of file carmaWrap.py.
bool carmaWrap.obj_uint.is_rng_init | ( | self | ) |
Definition at line 1585 of file carmaWrap.py.
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.
int carmaWrap.obj_uint.nrm2 | ( | self, | |
int | incx = 1 |
||
) |
TODO.
Definition at line 1593 of file carmaWrap.py.
int carmaWrap.obj_uint.prng | ( | self, | |
int | arg0, | ||
str | arg1, | ||
float | arg2 | ||
) |
int carmaWrap.obj_uint.prng | ( | self, | |
int | arg0, | ||
str | arg1, | ||
float | arg2, | ||
float | arg3 | ||
) |
int carmaWrap.obj_uint.prng | ( | self, | |
str | arg0 | ||
) |
int carmaWrap.obj_uint.prng | ( | self, | |
str | arg0, | ||
float | arg1 | ||
) |
int carmaWrap.obj_uint.prng | ( | self, | |
str | arg0, | ||
float | arg1, | ||
float | arg2 | ||
) |
int carmaWrap.obj_uint.prng_host | ( | self, | |
str | arg0 | ||
) |
int carmaWrap.obj_uint.prng_host | ( | self, | |
str | arg0, | ||
int | arg1 | ||
) |
int carmaWrap.obj_uint.prng_host | ( | self, | |
str | arg0, | ||
int | arg1, | ||
int | arg2 | ||
) |
int carmaWrap.obj_uint.prng_montagn | ( | self, | |
float | arg0 | ||
) |
Definition at line 1610 of file carmaWrap.py.
None carmaWrap.obj_uint.random | ( | self, | |
int | seed = 1234 , |
||
str | j = 'U' |
||
) |
Definition at line 1611 of file carmaWrap.py.
None carmaWrap.obj_uint.random_host | ( | self, | |
int | seed = 1234 , |
||
str | j = 'U' |
||
) |
Definition at line 1612 of file carmaWrap.py.
None carmaWrap.obj_uint.reduceCub | ( | self | ) |
TODO.
Definition at line 1616 of file carmaWrap.py.
int carmaWrap.obj_uint.reset | ( | self | ) |
TODO.
Definition at line 1620 of file carmaWrap.py.
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.
None carmaWrap.obj_uint.scale | ( | self, | |
int | scale, | ||
int | incx = 1 |
||
) |
TODO.
Definition at line 1628 of file carmaWrap.py.
int carmaWrap.obj_uint.sum | ( | self | ) |
TODO.
Definition at line 1632 of file carmaWrap.py.
None carmaWrap.obj_uint.swap | ( | self, | |
obj_uint | source, | ||
int | incx = 1 , |
||
int | incy = 1 |
||
) |
TODO.
Definition at line 1636 of file carmaWrap.py.
None carmaWrap.obj_uint.swap_ptr | ( | self, | |
obj_uint | ptr | ||
) |
TODO.
Definition at line 1640 of file carmaWrap.py.
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.
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.
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.
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.
object carmaWrap.obj_uint.to_cupy | ( | self | ) |
TODO.
Definition at line 1660 of file carmaWrap.py.
int carmaWrap.obj_uint.transpose | ( | self, | |
obj_uint | source | ||
) |
TODO.
Definition at line 1664 of file carmaWrap.py.
int carmaWrap.obj_uint.wait_all_streams | ( | self | ) |
TODO.
Definition at line 1668 of file carmaWrap.py.
int carmaWrap.obj_uint.wait_stream | ( | self, | |
int | steam | ||
) |
TODO.
Definition at line 1672 of file carmaWrap.py.
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |