-
- Downloads
You need to sign in or sign up before continuing.
Add optimize_memory to the GPU pyfaust wrapper and update many dependent C++...
Add optimize_memory to the GPU pyfaust wrapper and update many dependent C++ functions behind (details below). Changes in Cpu and GPU2 Vect classes: - Vect<FPP,Cpu>: new set_coeff() alias of operator[] to have the same API as Vect<,FPP,GPU2> that can't return a reference on a GPU buffer scalar (which is necessary to define operator[] for writing operations; vec[i] = value, instead this is vec.set_coeff(i, value)). - Vect<FPP,GPU2>::multiplyLeft(MatSparse<FPP,GPU2> const& S, const char transS) Changes in MatDense<FPP,GPU2>: - support of tranpose/adjoint options in multiply (by dense/sparse mat) member functions. Changes in MatSparse<FPP,GPU2>: - function multiply by a vector. - copy ctor. Changes in MatGeneric<FPP,GPU2>: - Adding Clone() function signature (implemented in MatDense/MatSparse subclasses) to be conform to Cpu MatGenirc hierarchy. - density() member function. - non-member function char2gm_op() to handle transpose/adjoint format (represented by char-s in Faust core and by gm_Op enumeration in gpu_mod). Changes in src/faust_linear_operator/faust_MatGeneric.hpp: - the optimize function (used by MatGeneric Cpu or GPU2 Clone() functions) is now device agnostic (FDevice template value parameter, instead of Cpu instantiation). TransformHelper<FPP,Cpu>: moving up optimize_storage in TransformHelperGen (code factorization with TransformHelper<FPP,GPU2>). New function to multiply by a vector in Transform<FPP,GPU2> and a wrapper function in TransformHelper<FPP,GPU2>.
Showing
- src/faust_linear_operator/CPU/faust_MatDense.h 1 addition, 1 deletionsrc/faust_linear_operator/CPU/faust_MatDense.h
- src/faust_linear_operator/CPU/faust_TransformHelper.h 0 additions, 1 deletionsrc/faust_linear_operator/CPU/faust_TransformHelper.h
- src/faust_linear_operator/CPU/faust_TransformHelper.hpp 0 additions, 51 deletionssrc/faust_linear_operator/CPU/faust_TransformHelper.hpp
- src/faust_linear_operator/CPU/faust_Vect.h 1 addition, 0 deletionssrc/faust_linear_operator/CPU/faust_Vect.h
- src/faust_linear_operator/GPU2/faust_MatDense_gpu.cpp.in 47 additions, 17 deletionssrc/faust_linear_operator/GPU2/faust_MatDense_gpu.cpp.in
- src/faust_linear_operator/GPU2/faust_MatDense_gpu.h 16 additions, 1 deletionsrc/faust_linear_operator/GPU2/faust_MatDense_gpu.h
- src/faust_linear_operator/GPU2/faust_MatGeneric_gpu.h 11 additions, 0 deletionssrc/faust_linear_operator/GPU2/faust_MatGeneric_gpu.h
- src/faust_linear_operator/GPU2/faust_MatGeneric_gpu.hpp 56 additions, 0 deletionssrc/faust_linear_operator/GPU2/faust_MatGeneric_gpu.hpp
- src/faust_linear_operator/GPU2/faust_MatSparse_gpu.cpp.in 43 additions, 9 deletionssrc/faust_linear_operator/GPU2/faust_MatSparse_gpu.cpp.in
- src/faust_linear_operator/GPU2/faust_MatSparse_gpu.h 2 additions, 0 deletionssrc/faust_linear_operator/GPU2/faust_MatSparse_gpu.h
- src/faust_linear_operator/GPU2/faust_TransformHelper_gpu.h 1 addition, 2 deletionssrc/faust_linear_operator/GPU2/faust_TransformHelper_gpu.h
- src/faust_linear_operator/GPU2/faust_TransformHelper_gpu.hpp 24 additions, 16 deletionssrc/faust_linear_operator/GPU2/faust_TransformHelper_gpu.hpp
- src/faust_linear_operator/GPU2/faust_Transform_gpu.cpp.in 10 additions, 0 deletionssrc/faust_linear_operator/GPU2/faust_Transform_gpu.cpp.in
- src/faust_linear_operator/GPU2/faust_Transform_gpu.h 1 addition, 0 deletionssrc/faust_linear_operator/GPU2/faust_Transform_gpu.h
- src/faust_linear_operator/GPU2/faust_Vect_gpu.cpp.in 21 additions, 0 deletionssrc/faust_linear_operator/GPU2/faust_Vect_gpu.cpp.in
- src/faust_linear_operator/GPU2/faust_Vect_gpu.h 7 additions, 0 deletionssrc/faust_linear_operator/GPU2/faust_Vect_gpu.h
- src/faust_linear_operator/faust_MatGeneric.h 2 additions, 2 deletionssrc/faust_linear_operator/faust_MatGeneric.h
- src/faust_linear_operator/faust_MatGeneric.hpp 9 additions, 8 deletionssrc/faust_linear_operator/faust_MatGeneric.hpp
- src/faust_linear_operator/faust_TransformHelperGen.h 1 addition, 0 deletionssrc/faust_linear_operator/faust_TransformHelperGen.h
- src/faust_linear_operator/faust_TransformHelperGen.hpp 53 additions, 0 deletionssrc/faust_linear_operator/faust_TransformHelperGen.hpp
Loading
Please register or sign in to comment