Permalink
Browse files

Merge remote-tracking branch 'origin/master'

  • Loading branch information...
2 parents 776da8c + 312798b commit a961fb4e502e28dbe56610462a661085dee4ac33 @pksunkara committed Aug 21, 2011
Showing with 3 additions and 1 deletion.
  1. +3 −1 matrix/oblivious.cpp
View
@@ -10,14 +10,16 @@ extern int matrix_n, matrix_m, matrix_p;
extern int A(int, int);
extern int B(int, int);
+void recur_func(int, int, int, int, int, int, int);
+
void cache_oblivious(void) {
int i, j, k;
recur_func(matrix_n, matrix_m, matrix_p, 0, 0, 0, 0);
}
void recur_func(int n, int m, int p, int a1, int a2, int b1, int b2){
if((n==1) && (m==1) && (p==1)){
- cout << A(a1, a2)*B(b1, b2) << endl;
+ A(a1, a2)*B(b1, b2);
return;
}

0 comments on commit a961fb4

Please sign in to comment.