Skip to content
Snippets Groups Projects
Commit 6ef308ab authored by aidan's avatar aidan
Browse files

Minor fix to the QR

parent 8cfb2b41
No related branches found
No related tags found
1 merge request!6Resource reuse
...@@ -571,7 +571,7 @@ void test_qr(int m, int n, int K, int nr_threads, int runs, double* matrix) { ...@@ -571,7 +571,7 @@ void test_qr(int m, int n, int K, int nr_threads, int runs, double* matrix) {
tid_new = qsched_addtask(&s, task_DTSQRF, task_flag_none, data, tid_new = qsched_addtask(&s, task_DTSQRF, task_flag_none, data,
sizeof(int) * 3, 3); sizeof(int) * 3, 3);
qsched_addlock(&s, tid_new, rid[k * m + i]); qsched_addlock(&s, tid_new, rid[k * m + i]);
qsched_adduse(&s, tid_new, rid[k * m + k]); qsched_addlock(&s, tid_new, rid[k * m + k]);
qsched_addunlock(&s, tid[k * m + (i - 1)], tid_new); qsched_addunlock(&s, tid[k * m + (i - 1)], tid_new);
if (tid[k * m + i] != -1) qsched_addunlock(&s, tid[k * m + i], tid_new); if (tid[k * m + i] != -1) qsched_addunlock(&s, tid[k * m + i], tid_new);
tid[k * m + i] = tid_new; tid[k * m + i] = tid_new;
... ...
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment