10 #ifndef ICL_PLASMA_TREE_H
11 #define ICL_PLASMA_TREE_H
24 static inline int plasma_tree_insert_operation(
int *operations,
28 int col,
int row,
int rowpiv)
30 assert(ind_op < loperations);
32 operations[ind_op*4] = kernel;
33 operations[ind_op*4+1] = col;
34 operations[ind_op*4+2] = row;
35 operations[ind_op*4+3] = rowpiv;
47 static inline void plasma_tree_get_operation(
int *operations,
49 plasma_enum_t *kernel,
50 int *col,
int *row,
int *rowpiv)
52 *kernel = operations[ind_op*4];
53 *col = operations[ind_op*4+1];
54 *row = operations[ind_op*4+2];
55 *rowpiv = operations[ind_op*4+3];
58 void plasma_tree_operations(
int mt,
int nt,
59 int **operations,
int *num_operations);
61 #endif // ICL_PLASMA_TREE_H