NumericAL
A header-only C++20 lexer built on REAL
Loading...
Searching...
No Matches
Public Attributes | List of all members
numerical::detail::numpy_loops Struct Reference

Which of NumPy's complex loops fuse their multiply-adds: its product's vector loop, its product's scalar loop (detail::numpy_loop_is_scalar), its quotient's and its product's reduction loop. They follow how its wheels were built, not only the processor, so the binding measures them on the NumPy it runs beside. More...

#include <tensor_ops.hpp>

Public Attributes

bool products
 The product's vector loop.
 
bool scalar_products
 The product's scalar loop.
 
bool quotients
 The quotient (Smith's algorithm, a scalar loop).
 
bool reductions
 The product's reduction loop (detail::numpy_fuses_reductions).
 
bool late_reductions
 Where it fuses, as detail::numpy_multiply_late does (MSVC's contraction).
 

Detailed Description

Which of NumPy's complex loops fuse their multiply-adds: its product's vector loop, its product's scalar loop (detail::numpy_loop_is_scalar), its quotient's and its product's reduction loop. They follow how its wheels were built, not only the processor, so the binding measures them on the NumPy it runs beside.

Definition at line 2192 of file tensor_ops.hpp.

Member Data Documentation

◆ late_reductions

bool numerical::detail::numpy_loops::late_reductions

Where it fuses, as detail::numpy_multiply_late does (MSVC's contraction).

Definition at line 2197 of file tensor_ops.hpp.

◆ products

bool numerical::detail::numpy_loops::products

The product's vector loop.

Definition at line 2193 of file tensor_ops.hpp.

◆ quotients

bool numerical::detail::numpy_loops::quotients

The quotient (Smith's algorithm, a scalar loop).

Definition at line 2195 of file tensor_ops.hpp.

◆ reductions

bool numerical::detail::numpy_loops::reductions

The product's reduction loop (detail::numpy_fuses_reductions).

Definition at line 2196 of file tensor_ops.hpp.

◆ scalar_products

bool numerical::detail::numpy_loops::scalar_products

The product's scalar loop.

Definition at line 2194 of file tensor_ops.hpp.


The documentation for this struct was generated from the following file: