|
TBCI Numerical high perf. C++ Library 2.8.0
|
header file template class TBCI::BVector More...
#include "tbci/basics.h"#include "tbci/vector_sig.h"#include "tbci/tbci_traits.h"
Go to the source code of this file.
Classes | |
| class | VecErr |
| exception class More... | |
| class | BVector< T > |
| provides basic Vector functionality but arithmetic operators (+=, - , *, /...). More... | |
Macros | |
| #define | LAPACK_INLINE |
| #define | SMP_VECSLICE 262144 |
| #define | SMP_VECSLICE2 (SMP_VECSLICE/sizeof(T)) |
Functions | |
| template<typename T> | |
| STD__ ostream & | operator<< (STD__ ostream &os, const BVector< T > &v) |
| template<typename T> | |
| STD__ istream & | operator>> (STD__ istream &in, BVector< T > &v) |
| template<typename T> | |
| BVector< T > | concat (const BVector< T > &b1, const BVector< T > &b2) |
| template<typename T> | |
| void | job_vv_comp (struct thr_ctrl *tc) |
| HOTDECL (template< typename T > int _par_comp(const unsigned long sz, const T *v1, const T *v2)) | |
| template<typename T> | |
| void | job_vv_copy (struct thr_ctrl *tc) |
| HOTDECL (template< typename T > void _par_copy(const unsigned long sz, T *v1, const T *v2)) | |
| template<typename T> | |
| void | job_vec_fill (struct thr_ctrl *tc) |
| HOTDECL (template< typename T > void _par_fill(const unsigned long sz, T *v1, typename tbci_traits< T >::loop_const_refval_type val)) | |
| template<typename T> | |
| void | job_vec_fill_fn (struct thr_ctrl *tc) |
| HOTDECL (template< typename T > void _par_fill_fn(const unsigned long sz, T *v1, vec_fill_fn< T > fn, void *par)) | |
| template<typename T> | |
| int | numa_optimize (const BVector< T > &bv, bool fault_in) |
header file template class TBCI::BVector
Definition in file bvector.h.
| #define LAPACK_INLINE |
Definition at line 318 of file bvector.h.
Referenced by BVector< T >::resize().
| #define SMP_VECSLICE2 (SMP_VECSLICE/sizeof(T)) |
Definition at line 626 of file bvector.h.
Referenced by dot(), Vector< T >::fabssqr(), HOTDECL(), HOTDECL(), HOTDECL(), HOTDECL(), Vector< T >::operator*(), and Vector< T >::sum().
|
inline |
Definition at line 604 of file bvector.h.
References BVector< T >::concat(), and concat().
Referenced by concat().
| HOTDECL | ( | template< typename T > int | _par_compconst unsigned long sz, const T *v1, const T *v2 | ) |
Definition at line 641 of file bvector.h.
References job_vv_comp(), LIKELY, PREFETCH_R, res, SMP_VECSLICE2, T, job_output::t_res_l, thread_start(), thread_wait(), and threads_avail.
| HOTDECL | ( | template< typename T > void | _par_copyconst unsigned long sz, T *v1, const T *v2 | ) |
Definition at line 683 of file bvector.h.
References job_vv_copy(), LIKELY, PREFETCH_R, PREFETCH_W, SMP_VECSLICE2, T, thread_start(), thread_wait(), and threads_avail.
| HOTDECL | ( | template< typename T > void | _par_fillconst unsigned long sz, T *v1, typename tbci_traits< T >::loop_const_refval_type val | ) |
Definition at line 721 of file bvector.h.
References job_vec_fill(), LIKELY, PREFETCH_W, SMP_VECSLICE2, T, thread_start(), thread_wait(), and threads_avail.
| HOTDECL | ( | template< typename T > void | _par_fill_fnconst unsigned long sz, T *v1, vec_fill_fn< T > fn, void *par | ) |
Definition at line 761 of file bvector.h.
References job_vec_fill_fn(), LIKELY, PREFETCH_W, SMP_VECSLICE2, T, thread_start(), thread_wait(), and threads_avail.
Definition at line 714 of file bvector.h.
References job_vec_fill(), T, thr_ctrl::t_par, and thr_ctrl::t_size.
Referenced by HOTDECL(), and job_vec_fill().
Definition at line 752 of file bvector.h.
References job_vec_fill_fn(), T, thr_ctrl::t_par, and thr_ctrl::t_size.
Referenced by HOTDECL(), and job_vec_fill_fn().
Definition at line 633 of file bvector.h.
References job_vv_comp(), T, thr_ctrl::t_par, thr_ctrl::t_res_l, and thr_ctrl::t_size.
Referenced by HOTDECL(), and job_vv_comp().
Definition at line 677 of file bvector.h.
References job_vv_copy(), T, thr_ctrl::t_par, and thr_ctrl::t_size.
Referenced by HOTDECL(), and job_vv_copy().
|
inline |
Definition at line 531 of file bvector.h.
References BVector< T >::dim, i, STD__, and BVector< T >::vec.