Thorin 1.9.0
The Higher ORder INtermediate representation
Loading...
Searching...
No Matches
normalizers.cpp File Reference
#include <iostream>
#include "thorin/axiom.h"
#include "thorin/world.h"
#include "thorin/plug/matrix/matrix.h"
Include dependency graph for normalizers.cpp:

Go to the source code of this file.

Namespaces

namespace  thorin
 
namespace  thorin::plug
 
namespace  thorin::plug::matrix
 The matrix Plugin
 

Functions

u64 thorin::plug::matrix::get_max_index (u64 init, Defs inputs)
 Matrix normalizer for product on two-dimensional matrices.
 
%matrix.read
Ref thorin::plug::matrix::normalize_read (Ref type, Ref callee, Ref arg)
 Normalizer for read opertions.
 
%matrix.insert
Ref thorin::plug::matrix::normalize_insert (Ref type, Ref callee, Ref arg)
 Normalizer for write operations TODO: implement.
 
%matrix.shape
Ref thorin::plug::matrix::normalize_shape (Ref type, Ref callee, Ref arg)
 Normalizer for transpose operations.
 
%matrix.map_reduce
Ref thorin::plug::matrix::normalize_map_reduce (Ref type, Ref callee, Ref arg)
 map_reduce normalizers
 
%matrix.prod
Ref thorin::plug::matrix::normalize_prod (Ref type, Ref callee, Ref arg)
 
%matrix.transpose
Ref thorin::plug::matrix::normalize_transpose (Ref type, Ref callee, Ref arg)