rename op_accu_fp16mat to op_accu_mat_promote
This commit is contained in:
@@ -35,7 +35,7 @@ accu(const T1& expr, const typename enable_if< is_arma_type<T1>::value >::result
|
||||
{
|
||||
typedef typename T1::elem_type eT;
|
||||
|
||||
return (is_fp16<eT>::yes || is_cx_fp16<eT>::yes) ? op_accu_fp16mat::apply(expr) : op_accu_mat::apply(expr);
|
||||
return (is_fp16<eT>::yes || is_cx_fp16<eT>::yes) ? op_accu_mat_promote::apply(expr) : op_accu_mat::apply(expr);
|
||||
}
|
||||
#else
|
||||
{
|
||||
|
||||
@@ -69,7 +69,7 @@ struct op_accu_mat
|
||||
|
||||
|
||||
|
||||
struct op_accu_fp16mat
|
||||
struct op_accu_mat_promote
|
||||
: public traits_op_passthru
|
||||
{
|
||||
template<typename T1>
|
||||
|
||||
@@ -657,7 +657,7 @@ op_accu_mat::apply(const subview_col<eT>& X)
|
||||
template<typename T1>
|
||||
inline
|
||||
typename T1::elem_type
|
||||
op_accu_fp16mat::apply_proxy_linear(const Proxy<T1>& P)
|
||||
op_accu_mat_promote::apply_proxy_linear(const Proxy<T1>& P)
|
||||
{
|
||||
arma_debug_sigprint();
|
||||
|
||||
@@ -685,7 +685,7 @@ op_accu_fp16mat::apply_proxy_linear(const Proxy<T1>& P)
|
||||
template<typename T1>
|
||||
inline
|
||||
typename T1::elem_type
|
||||
op_accu_fp16mat::apply_proxy_at(const Proxy<T1>& P)
|
||||
op_accu_mat_promote::apply_proxy_at(const Proxy<T1>& P)
|
||||
{
|
||||
arma_debug_sigprint();
|
||||
|
||||
@@ -726,7 +726,7 @@ op_accu_fp16mat::apply_proxy_at(const Proxy<T1>& P)
|
||||
template<typename T1>
|
||||
inline
|
||||
typename T1::elem_type
|
||||
op_accu_fp16mat::apply(const T1& X)
|
||||
op_accu_mat_promote::apply(const T1& X)
|
||||
{
|
||||
arma_debug_sigprint();
|
||||
|
||||
@@ -754,7 +754,7 @@ op_accu_fp16mat::apply(const T1& X)
|
||||
|
||||
const Proxy<T1> P(X);
|
||||
|
||||
return (Proxy<T1>::use_at) ? op_accu_fp16mat::apply_proxy_at(P) : op_accu_fp16mat::apply_proxy_linear(P);
|
||||
return (Proxy<T1>::use_at) ? op_accu_mat_promote::apply_proxy_at(P) : op_accu_mat_promote::apply_proxy_linear(P);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user