1 #ifndef __INT_SCALING_H__ 2 #define __INT_SCALING_H__ 4 #include "../interface/common.h" untyped internal class for singly-typed single variable function (Endomorphism)
scaling(tensor *A, int const *idx_map, char const *alpha)
constructor definining contraction with C's mul and add ops
endomorphism const * func
function to execute on elementwise elements
int endomorphism(int n, World &dw)
class for execution distributed scaling of a tensor
char const * alpha
scaling of A
void sp_scl()
scales a sparse tensor
int * idx_map
indices of A
double estimate_time()
predicts execution time in seconds using performance models
internal distributed tensor class
bool is_custom
whether there is a elementwise custom function