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
754c3e16
Commit
754c3e16
authored
11 years ago
by
Pedro Gonnet
Browse files
Options
Downloads
Patches
Plain Diff
make runs files case-specific.
parent
844b518a
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
examples/Makefile.am
+3
-3
3 additions, 3 deletions
examples/Makefile.am
examples/Makefile.in
+15
-48
15 additions, 48 deletions
examples/Makefile.in
examples/runs_bh.sh
+1
-1
1 addition, 1 deletion
examples/runs_bh.sh
with
19 additions
and
52 deletions
examples/Makefile.am
+
3
−
3
View file @
754c3e16
...
@@ -21,9 +21,9 @@ AUTOMAKE_OPTIONS=gnu
...
@@ -21,9 +21,9 @@ AUTOMAKE_OPTIONS=gnu
# Add the source directory and debug to CFLAGS
# Add the source directory and debug to CFLAGS
AM_CFLAGS
=
-g
-Wall
-Werror
-I
../src
$(
OPENMP_CFLAGS
)
-DCPU_TPS
=
2.67e9
\
AM_CFLAGS
=
-g
-Wall
-Werror
-I
../src
$(
OPENMP_CFLAGS
)
-DCPU_TPS
=
2.67e9
\
-fsanitize
=
address
-fno-omit-frame-pointer
#
-fsanitize=address -fno-omit-frame-pointer
AM_LDFLAGS
=
-lm
-fsanitize
=
address
AM_LDFLAGS
=
-lm
#
-fsanitize=address
# Set-up the library
# Set-up the library
bin_PROGRAMS
=
test
test_qr test_bh
bin_PROGRAMS
=
test
test_qr test_bh
...
@@ -36,7 +36,7 @@ test_LDADD = ../src/.libs/libquicksched.a
...
@@ -36,7 +36,7 @@ test_LDADD = ../src/.libs/libquicksched.a
# Sources for test_qr
# Sources for test_qr
test_qr_SOURCES
=
test_qr.c
test_qr_SOURCES
=
test_qr.c
test_qr_CFLAGS
=
$(
AM_CFLAGS
)
test_qr_CFLAGS
=
$(
AM_CFLAGS
)
test_qr_LDADD
=
../src/.libs/libquicksched.a
-llapacke
-l
c
blas
test_qr_LDADD
=
../src/.libs/libquicksched.a
-llapacke
-l
lapack
-l
blas
# Sources for test_bh
# Sources for test_bh
test_bh_SOURCES
=
test_bh.c
test_bh_SOURCES
=
test_bh.c
...
...
This diff is collapsed.
Click to expand it.
examples/Makefile.in
+
15
−
48
View file @
754c3e16
# Makefile.in generated by automake 1.11.
6
from Makefile.am.
# Makefile.in generated by automake 1.11.
1
from Makefile.am.
# @configure_input@
# @configure_input@
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
# 2003, 2004, 2005, 2006, 2007, 2008, 2009
, 2010, 2011
Free Software
# 2003, 2004, 2005, 2006, 2007, 2008, 2009
Free Software
Foundation,
#
Foundation,
Inc.
# Inc.
# This Makefile.in is free software; the Free Software Foundation
# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
# with or without modifications, as long as this notice is preserved.
...
@@ -33,23 +33,6 @@
...
@@ -33,23 +33,6 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
VPATH
=
@srcdir@
VPATH
=
@srcdir@
am__make_dryrun
=
\
{
\
am__dry
=
no
;
\
case
$$
MAKEFLAGS
in
\
*
\\
[
\ \
]
*
)
\
echo
'am--echo: ; @echo "AM" OK'
|
$(
MAKE
)
-f
- 2>/dev/null
\
|
grep
'^AM OK$$'
>
/dev/null
||
am__dry
=
yes
;;
\
*
)
\
for
am__flg
in
$$
MAKEFLAGS
;
do
\
case
$$
am__flg
in
\
*
=
*
|
--
*
)
;;
\
*
n
*
)
am__dry
=
yes
;
break
;;
\
esac
;
\
done
;;
\
esac
;
\
test
$$
am__dry
=
yes
;
\
}
pkgdatadir
=
$(
datadir
)
/@PACKAGE@
pkgdatadir
=
$(
datadir
)
/@PACKAGE@
pkgincludedir
=
$(
includedir
)
/@PACKAGE@
pkgincludedir
=
$(
includedir
)
/@PACKAGE@
pkglibdir
=
$(
libdir
)
/@PACKAGE@
pkglibdir
=
$(
libdir
)
/@PACKAGE@
...
@@ -125,11 +108,6 @@ LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
...
@@ -125,11 +108,6 @@ LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
$(
LDFLAGS
)
-o
$@
$(
LDFLAGS
)
-o
$@
SOURCES
=
$(
test_SOURCES
)
$(
test_bh_SOURCES
)
$(
test_qr_SOURCES
)
SOURCES
=
$(
test_SOURCES
)
$(
test_bh_SOURCES
)
$(
test_qr_SOURCES
)
DIST_SOURCES
=
$(
test_SOURCES
)
$(
test_bh_SOURCES
)
$(
test_qr_SOURCES
)
DIST_SOURCES
=
$(
test_SOURCES
)
$(
test_bh_SOURCES
)
$(
test_qr_SOURCES
)
am__can_run_installinfo
=
\
case
$$
AM_UPDATE_INFO_DIR
in
\
n|no|NO
)
false
;;
\
*
)
(
install-info
--version
)
>
/dev/null 2>&1
;;
\
esac
ETAGS
=
etags
ETAGS
=
etags
CTAGS
=
ctags
CTAGS
=
ctags
DISTFILES
=
$(
DIST_COMMON
)
$(
DIST_SOURCES
)
$(
TEXINFOS
)
$(
EXTRA_DIST
)
DISTFILES
=
$(
DIST_COMMON
)
$(
DIST_SOURCES
)
$(
TEXINFOS
)
$(
EXTRA_DIST
)
...
@@ -148,7 +126,6 @@ CPPFLAGS = @CPPFLAGS@
...
@@ -148,7 +126,6 @@ CPPFLAGS = @CPPFLAGS@
CYGPATH_W
=
@CYGPATH_W@
CYGPATH_W
=
@CYGPATH_W@
DEFS
=
@DEFS@
DEFS
=
@DEFS@
DEPDIR
=
@DEPDIR@
DEPDIR
=
@DEPDIR@
DLLTOOL
=
@DLLTOOL@
DOXYGEN_PAPER_SIZE
=
@DOXYGEN_PAPER_SIZE@
DOXYGEN_PAPER_SIZE
=
@DOXYGEN_PAPER_SIZE@
DSYMUTIL
=
@DSYMUTIL@
DSYMUTIL
=
@DSYMUTIL@
DUMPBIN
=
@DUMPBIN@
DUMPBIN
=
@DUMPBIN@
...
@@ -196,7 +173,6 @@ LIPO = @LIPO@
...
@@ -196,7 +173,6 @@ LIPO = @LIPO@
LN_S
=
@LN_S@
LN_S
=
@LN_S@
LTLIBOBJS
=
@LTLIBOBJS@
LTLIBOBJS
=
@LTLIBOBJS@
MAKEINFO
=
@MAKEINFO@
MAKEINFO
=
@MAKEINFO@
MANIFEST_TOOL
=
@MANIFEST_TOOL@
MKDIR_P
=
@MKDIR_P@
MKDIR_P
=
@MKDIR_P@
NM
=
@NM@
NM
=
@NM@
NMEDIT
=
@NMEDIT@
NMEDIT
=
@NMEDIT@
...
@@ -210,7 +186,6 @@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
...
@@ -210,7 +186,6 @@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
PACKAGE_NAME
=
@PACKAGE_NAME@
PACKAGE_NAME
=
@PACKAGE_NAME@
PACKAGE_STRING
=
@PACKAGE_STRING@
PACKAGE_STRING
=
@PACKAGE_STRING@
PACKAGE_TARNAME
=
@PACKAGE_TARNAME@
PACKAGE_TARNAME
=
@PACKAGE_TARNAME@
PACKAGE_URL
=
@PACKAGE_URL@
PACKAGE_VERSION
=
@PACKAGE_VERSION@
PACKAGE_VERSION
=
@PACKAGE_VERSION@
PATH_SEPARATOR
=
@PATH_SEPARATOR@
PATH_SEPARATOR
=
@PATH_SEPARATOR@
PRTDIAG
=
@PRTDIAG@
PRTDIAG
=
@PRTDIAG@
...
@@ -228,7 +203,6 @@ abs_builddir = @abs_builddir@
...
@@ -228,7 +203,6 @@ abs_builddir = @abs_builddir@
abs_srcdir
=
@abs_srcdir@
abs_srcdir
=
@abs_srcdir@
abs_top_builddir
=
@abs_top_builddir@
abs_top_builddir
=
@abs_top_builddir@
abs_top_srcdir
=
@abs_top_srcdir@
abs_top_srcdir
=
@abs_top_srcdir@
ac_ct_AR
=
@ac_ct_AR@
ac_ct_CC
=
@ac_ct_CC@
ac_ct_CC
=
@ac_ct_CC@
ac_ct_DUMPBIN
=
@ac_ct_DUMPBIN@
ac_ct_DUMPBIN
=
@ac_ct_DUMPBIN@
acx_pthread_config
=
@acx_pthread_config@
acx_pthread_config
=
@acx_pthread_config@
...
@@ -262,6 +236,7 @@ libdir = @libdir@
...
@@ -262,6 +236,7 @@ libdir = @libdir@
libexecdir
=
@libexecdir@
libexecdir
=
@libexecdir@
localedir
=
@localedir@
localedir
=
@localedir@
localstatedir
=
@localstatedir@
localstatedir
=
@localstatedir@
lt_ECHO
=
@lt_ECHO@
mandir
=
@mandir@
mandir
=
@mandir@
mkdir_p
=
@mkdir_p@
mkdir_p
=
@mkdir_p@
oldincludedir
=
@oldincludedir@
oldincludedir
=
@oldincludedir@
...
@@ -283,9 +258,9 @@ AUTOMAKE_OPTIONS = gnu
...
@@ -283,9 +258,9 @@ AUTOMAKE_OPTIONS = gnu
# Add the source directory and debug to CFLAGS
# Add the source directory and debug to CFLAGS
AM_CFLAGS
=
-g
-Wall
-Werror
-I
../src
$(
OPENMP_CFLAGS
)
-DCPU_TPS
=
2.67e9
\
AM_CFLAGS
=
-g
-Wall
-Werror
-I
../src
$(
OPENMP_CFLAGS
)
-DCPU_TPS
=
2.67e9
\
-fsanitize
=
address
-fno-omit-frame-pointer
#
-fsanitize=address -fno-omit-frame-pointer
AM_LDFLAGS
=
-lm
-fsanitize
=
address
AM_LDFLAGS
=
-lm
#
-fsanitize=address
# Sources for test
# Sources for test
test_SOURCES
=
test.c
test_SOURCES
=
test.c
...
@@ -295,7 +270,7 @@ test_LDADD = ../src/.libs/libquicksched.a
...
@@ -295,7 +270,7 @@ test_LDADD = ../src/.libs/libquicksched.a
# Sources for test_qr
# Sources for test_qr
test_qr_SOURCES
=
test_qr.c
test_qr_SOURCES
=
test_qr.c
test_qr_CFLAGS
=
$(
AM_CFLAGS
)
test_qr_CFLAGS
=
$(
AM_CFLAGS
)
test_qr_LDADD
=
../src/.libs/libquicksched.a
-llapacke
-l
c
blas
test_qr_LDADD
=
../src/.libs/libquicksched.a
-llapacke
-l
lapack
-l
blas
# Sources for test_bh
# Sources for test_bh
test_bh_SOURCES
=
test_bh.c
test_bh_SOURCES
=
test_bh.c
...
@@ -337,11 +312,8 @@ $(ACLOCAL_M4): $(am__aclocal_m4_deps)
...
@@ -337,11 +312,8 @@ $(ACLOCAL_M4): $(am__aclocal_m4_deps)
$(am__aclocal_m4_deps)
:
$(am__aclocal_m4_deps)
:
install-binPROGRAMS
:
$(bin_PROGRAMS)
install-binPROGRAMS
:
$(bin_PROGRAMS)
@$(
NORMAL_INSTALL
)
@$(
NORMAL_INSTALL
)
test
-z
"
$(
bindir
)
"
||
$(
MKDIR_P
)
"
$(
DESTDIR
)$(
bindir
)
"
@
list
=
'
$(
bin_PROGRAMS
)
'
;
test
-n
"
$(
bindir
)
"
||
list
=
;
\
@
list
=
'
$(
bin_PROGRAMS
)
'
;
test
-n
"
$(
bindir
)
"
||
list
=
;
\
if
test
-n
"
$$
list"
;
then
\
echo
"
$(
MKDIR_P
)
'
$(
DESTDIR
)$(
bindir
)
'"
;
\
$(
MKDIR_P
)
"
$(
DESTDIR
)$(
bindir
)
"
||
exit
1
;
\
fi
;
\
for
p
in
$$
list
;
do
echo
"
$$
p
$$
p"
;
done
|
\
for
p
in
$$
list
;
do
echo
"
$$
p
$$
p"
;
done
|
\
sed
's/
$(
EXEEXT
)
$$//'
|
\
sed
's/
$(
EXEEXT
)
$$//'
|
\
while
read
p p1
;
do if
test
-f
$$
p
||
test
-f
$$
p1
;
\
while
read
p p1
;
do if
test
-f
$$
p
||
test
-f
$$
p1
;
\
...
@@ -381,13 +353,13 @@ clean-binPROGRAMS:
...
@@ -381,13 +353,13 @@ clean-binPROGRAMS:
list
=
`
for
p
in
$$
list
;
do
echo
"
$$
p"
;
done
|
sed
's/
$(
EXEEXT
)
$$//'
`
;
\
list
=
`
for
p
in
$$
list
;
do
echo
"
$$
p"
;
done
|
sed
's/
$(
EXEEXT
)
$$//'
`
;
\
echo
" rm -f"
$$
list
;
\
echo
" rm -f"
$$
list
;
\
rm
-f
$$
list
rm
-f
$$
list
test$(EXEEXT)
:
$(test_OBJECTS) $(test_DEPENDENCIES)
$(EXTRA_test_DEPENDENCIES)
test$(EXEEXT)
:
$(test_OBJECTS) $(test_DEPENDENCIES)
@
rm
-f
test
$(
EXEEXT
)
@
rm
-f
test
$(
EXEEXT
)
$(
test_LINK
)
$(
test_OBJECTS
)
$(
test_LDADD
)
$(
LIBS
)
$(
test_LINK
)
$(
test_OBJECTS
)
$(
test_LDADD
)
$(
LIBS
)
test_bh$(EXEEXT)
:
$(test_bh_OBJECTS) $(test_bh_DEPENDENCIES)
$(EXTRA_test_bh_DEPENDENCIES)
test_bh$(EXEEXT)
:
$(test_bh_OBJECTS) $(test_bh_DEPENDENCIES)
@
rm
-f
test_bh
$(
EXEEXT
)
@
rm
-f
test_bh
$(
EXEEXT
)
$(
test_bh_LINK
)
$(
test_bh_OBJECTS
)
$(
test_bh_LDADD
)
$(
LIBS
)
$(
test_bh_LINK
)
$(
test_bh_OBJECTS
)
$(
test_bh_LDADD
)
$(
LIBS
)
test_qr$(EXEEXT)
:
$(test_qr_OBJECTS) $(test_qr_DEPENDENCIES)
$(EXTRA_test_qr_DEPENDENCIES)
test_qr$(EXEEXT)
:
$(test_qr_OBJECTS) $(test_qr_DEPENDENCIES)
@
rm
-f
test_qr
$(
EXEEXT
)
@
rm
-f
test_qr
$(
EXEEXT
)
$(
test_qr_LINK
)
$(
test_qr_OBJECTS
)
$(
test_qr_LDADD
)
$(
LIBS
)
$(
test_qr_LINK
)
$(
test_qr_OBJECTS
)
$(
test_qr_LDADD
)
$(
LIBS
)
...
@@ -569,15 +541,10 @@ install-am: all-am
...
@@ -569,15 +541,10 @@ install-am: all-am
installcheck
:
installcheck-am
installcheck
:
installcheck-am
install-strip
:
install-strip
:
if
test
-z
'
$(
STRIP
)
'
;
then
\
$(
MAKE
)
$(
AM_MAKEFLAGS
)
INSTALL_PROGRAM
=
"
$(
INSTALL_STRIP_PROGRAM
)
"
\
$(
MAKE
)
$(
AM_MAKEFLAGS
)
INSTALL_PROGRAM
=
"
$(
INSTALL_STRIP_PROGRAM
)
"
\
install_sh_PROGRAM
=
"
$(
INSTALL_STRIP_PROGRAM
)
"
INSTALL_STRIP_FLAG
=
-s
\
install_sh_PROGRAM
=
"
$(
INSTALL_STRIP_PROGRAM
)
"
INSTALL_STRIP_FLAG
=
-s
\
`
test
-z
'
$(
STRIP
)
'
||
\
install
;
\
echo
"INSTALL_PROGRAM_ENV=STRIPPROG='
$(
STRIP
)
'"
`
install
else
\
$(
MAKE
)
$(
AM_MAKEFLAGS
)
INSTALL_PROGRAM
=
"
$(
INSTALL_STRIP_PROGRAM
)
"
\
install_sh_PROGRAM
=
"
$(
INSTALL_STRIP_PROGRAM
)
"
INSTALL_STRIP_FLAG
=
-s
\
"INSTALL_PROGRAM_ENV=STRIPPROG='
$(
STRIP
)
'"
install
;
\
fi
mostlyclean-generic
:
mostlyclean-generic
:
clean-generic
:
clean-generic
:
...
...
This diff is collapsed.
Click to expand it.
examples/runs.sh
→
examples/runs
_bh
.sh
+
1
−
1
View file @
754c3e16
...
@@ -5,7 +5,7 @@ prog=test_bh
...
@@ -5,7 +5,7 @@ prog=test_bh
params
=
"-n 1000000 -r 10"
params
=
"-n 1000000 -r 10"
# Main loop
# Main loop
for
n
in
{
1..
1
6
}
for
n
in
{
1..6
4
}
do
do
if
[
!
-e
${
prog
}
_
${
n
}
.dump
]
if
[
!
-e
${
prog
}
_
${
n
}
.dump
]
...
...
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