Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Q
QuickSched
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
SWIFT
QuickSched
Commits
9deb7ef1
Commit
9deb7ef1
authored
9 years ago
by
d74ksy
Browse files
Options
Downloads
Patches
Plain Diff
Minor change to defines!
parent
af712f4e
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
examples/Makefile.am
+1
-1
1 addition, 1 deletion
examples/Makefile.am
examples/test_qr_mpi.c
+2
-2
2 additions, 2 deletions
examples/test_qr_mpi.c
with
3 additions
and
3 deletions
examples/Makefile.am
+
1
−
1
View file @
9deb7ef1
...
...
@@ -70,6 +70,6 @@ test_qr_mpi_LDADD = ../src/.libs/libquickschedMPI.a $(METIS_LIBS)
test_qr_mpi_LDFLAGS
=
$(
MPI_THREAD_LIBS
)
test_qr_mpi_cblas_SOURCES
=
test_qr_mpi.c
test_qr_mpi_cblas_CFLAGS
=
$(
AM_CFLAGS
)
-DWITH_MPI
-DWITH_CBLAS
test_qr_mpi_cblas_CFLAGS
=
$(
AM_CFLAGS
)
-DWITH_MPI
-DWITH_CBLAS
_LIB
test_qr_mpi_cblas_LDADD
=
../src/.libs/libquickschedMPI.a
$(
METIS_LIBS
)
-llapacke
-llapacke
-lblas
-lcblas
test_qr_mpi_cblas_LDFLAGS
=
$(
MPI_THREAD_LIBS
)
This diff is collapsed.
Click to expand it.
examples/test_qr_mpi.c
+
2
−
2
View file @
9deb7ef1
...
...
@@ -43,7 +43,7 @@
#define TASK_TIMERS
#ifdef WITH_CBLAS
#ifdef WITH_CBLAS
_LIB
/**
* Takes a column major matrix, NOT tile major. size is length of a side of the
* matrix. Only works for square matrices.
...
...
@@ -919,7 +919,7 @@ for(i = 0; i < n; i++)
MPI_Allreduce
(
MPI_IN_PLACE
,
tau
,
m
*
n
*
K
,
MPI_DOUBLE
,
MPI_SUM
,
s
.
comm
);
#ifdef WITH_CBLAS
#ifdef WITH_CBLAS
_LIB
//This should check correctness.
double
*
tempMatrix
=
tileToColumn
(
A
,
m
*
n
*
K
*
K
,
m
,
n
,
K
);
double
*
Q
=
computeQ
(
tempMatrix
,
m
*
K
,
K
,
tau
,
m
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment