![]() |
COMPASS
5.4.4
End-to-end AO simulation tool using GPU acceleration
|
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... | |
Definition at line 1737 of file carmaWrap.py.
None carmaWrap.obj_uint16.__init__ | ( | self, | |
context | context, | ||
numpy.ndarray[numpy.uint16] | h_data | ||
) |
TODO.
TODO
Definition at line 1744 of file carmaWrap.py.
None carmaWrap.obj_uint16.__init__ | ( | self, | |
context | context, | ||
obj_uint16 | d_data | ||
) |
str carmaWrap.obj_uint16.__repr__ | ( | self | ) |
Definition at line 1747 of file carmaWrap.py.
int carmaWrap.obj_uint16.add_stream | ( | self | ) |
TODO.
TODO
Definition at line 1754 of file carmaWrap.py.
int carmaWrap.obj_uint16.add_stream | ( | self, | |
int | np | ||
) |
int carmaWrap.obj_uint16.aimax | ( | self, | |
int | incx = 1 |
||
) |
TODO.
Definition at line 1760 of file carmaWrap.py.
int carmaWrap.obj_uint16.aimin | ( | self, | |
int | incx = 1 |
||
) |
TODO.
Definition at line 1764 of file carmaWrap.py.
int carmaWrap.obj_uint16.asum | ( | self, | |
int | incx = 1 |
||
) |
TODO.
Definition at line 1768 of file carmaWrap.py.
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.
None carmaWrap.obj_uint16.clip | ( | self, | |
int | data_min, | ||
int | data_max | ||
) |
TODO.
Definition at line 1776 of file carmaWrap.py.
None carmaWrap.obj_uint16.copy | ( | self, | |
obj_uint16 | arg0, | ||
int | arg1, | ||
int | arg2 | ||
) |
TODO.
Definition at line 1780 of file carmaWrap.py.
None carmaWrap.obj_uint16.copy_from | ( | self, | |
obj_uint16 | data, | ||
int | nb_elem = -1 |
||
) |
TODO.
Definition at line 1784 of file carmaWrap.py.
None carmaWrap.obj_uint16.copy_into | ( | self, | |
obj_uint16 | dest, | ||
int | nb_elem = -1 |
||
) |
TODO.
Definition at line 1788 of file carmaWrap.py.
int carmaWrap.obj_uint16.del_stream | ( | self | ) |
TODO.
TODO
Definition at line 1795 of file carmaWrap.py.
int carmaWrap.obj_uint16.del_stream | ( | self, | |
int | np | ||
) |
int carmaWrap.obj_uint16.destroy_prng | ( | self | ) |
Definition at line 1798 of file carmaWrap.py.
int carmaWrap.obj_uint16.destroy_prng_host | ( | self | ) |
Definition at line 1799 of file carmaWrap.py.
None carmaWrap.obj_uint16.device2host | ( | self, | |
numpy.ndarray[numpy.uint16] | data | ||
) |
TODO.
Definition at line 1803 of file carmaWrap.py.
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.
int carmaWrap.obj_uint16.dot | ( | self, | |
obj_uint16 | source, | ||
int | incx = 1 , |
||
int | incy = 1 |
||
) |
TODO.
Definition at line 1811 of file carmaWrap.py.
None carmaWrap.obj_uint16.fft | ( | self, | |
obj_uint16 | dest = None , |
||
int | direction = 1 |
||
) |
Definition at line 1812 of file carmaWrap.py.
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.
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.
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.
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.
None carmaWrap.obj_uint16.host2device | ( | self, | |
numpy.ndarray[numpy.uint16] | data | ||
) |
TODO.
Definition at line 1832 of file carmaWrap.py.
int carmaWrap.obj_uint16.init_prng | ( | self | ) |
int carmaWrap.obj_uint16.init_prng | ( | self, | |
int | arg0 | ||
) |
int carmaWrap.obj_uint16.init_prng_host | ( | self, | |
int | arg0 | ||
) |
Definition at line 1837 of file carmaWrap.py.
None carmaWrap.obj_uint16.init_reduceCub | ( | self | ) |
TODO.
Definition at line 1841 of file carmaWrap.py.
bool carmaWrap.obj_uint16.is_rng_init | ( | self | ) |
Definition at line 1842 of file carmaWrap.py.
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.
int carmaWrap.obj_uint16.nrm2 | ( | self, | |
int | incx = 1 |
||
) |
TODO.
Definition at line 1850 of file carmaWrap.py.
int carmaWrap.obj_uint16.prng | ( | self, | |
int | arg0, | ||
str | arg1, | ||
float | arg2 | ||
) |
int carmaWrap.obj_uint16.prng | ( | self, | |
int | arg0, | ||
str | arg1, | ||
float | arg2, | ||
float | arg3 | ||
) |
int carmaWrap.obj_uint16.prng | ( | self, | |
str | arg0 | ||
) |
int carmaWrap.obj_uint16.prng | ( | self, | |
str | arg0, | ||
float | arg1 | ||
) |
int carmaWrap.obj_uint16.prng | ( | self, | |
str | arg0, | ||
float | arg1, | ||
float | arg2 | ||
) |
int carmaWrap.obj_uint16.prng_host | ( | self, | |
str | arg0 | ||
) |
int carmaWrap.obj_uint16.prng_host | ( | self, | |
str | arg0, | ||
int | arg1 | ||
) |
int carmaWrap.obj_uint16.prng_host | ( | self, | |
str | arg0, | ||
int | arg1, | ||
int | arg2 | ||
) |
int carmaWrap.obj_uint16.prng_montagn | ( | self, | |
float | arg0 | ||
) |
Definition at line 1867 of file carmaWrap.py.
None carmaWrap.obj_uint16.random | ( | self, | |
int | seed = 1234 , |
||
str | j = 'U' |
||
) |
Definition at line 1868 of file carmaWrap.py.
None carmaWrap.obj_uint16.random_host | ( | self, | |
int | seed = 1234 , |
||
str | j = 'U' |
||
) |
Definition at line 1869 of file carmaWrap.py.
None carmaWrap.obj_uint16.reduceCub | ( | self | ) |
TODO.
Definition at line 1873 of file carmaWrap.py.
int carmaWrap.obj_uint16.reset | ( | self | ) |
TODO.
Definition at line 1877 of file carmaWrap.py.
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.
None carmaWrap.obj_uint16.scale | ( | self, | |
int | scale, | ||
int | incx = 1 |
||
) |
TODO.
Definition at line 1885 of file carmaWrap.py.
int carmaWrap.obj_uint16.sum | ( | self | ) |
TODO.
Definition at line 1889 of file carmaWrap.py.
None carmaWrap.obj_uint16.swap | ( | self, | |
obj_uint16 | source, | ||
int | incx = 1 , |
||
int | incy = 1 |
||
) |
TODO.
Definition at line 1893 of file carmaWrap.py.
None carmaWrap.obj_uint16.swap_ptr | ( | self, | |
obj_uint16 | ptr | ||
) |
TODO.
Definition at line 1897 of file carmaWrap.py.
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.
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.
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.
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.
object carmaWrap.obj_uint16.to_cupy | ( | self | ) |
TODO.
Definition at line 1917 of file carmaWrap.py.
int carmaWrap.obj_uint16.transpose | ( | self, | |
obj_uint16 | source | ||
) |
TODO.
Definition at line 1921 of file carmaWrap.py.
int carmaWrap.obj_uint16.wait_all_streams | ( | self | ) |
TODO.
Definition at line 1925 of file carmaWrap.py.
int carmaWrap.obj_uint16.wait_stream | ( | self, | |
int | steam | ||
) |
TODO.
Definition at line 1929 of file carmaWrap.py.
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |