Mentions légales du service
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Chameleon
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
solverstack
Chameleon
Commits
b20c3384
Commit
b20c3384
authored
7 years ago
by
THIBAULT Samuel
Committed by
Mathieu Faverge
7 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Remove -bounddeps/-bounddepsprio and document -bound
parent
363bf86f
No related branches found
No related tags found
1 merge request
!58
Remove -bounddeps/-bounddepsprio and document -bound
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
example/basic_zposv/basic_posv.h
+0
-4
0 additions, 4 deletions
example/basic_zposv/basic_posv.h
timing/timing.c
+7
-34
7 additions, 34 deletions
timing/timing.c
timing/timing.h
+0
-2
0 additions, 2 deletions
timing/timing.h
with
7 additions
and
40 deletions
example/basic_zposv/basic_posv.h
+
0
−
4
View file @
b20c3384
...
@@ -127,8 +127,6 @@ enum iparam_examples {
...
@@ -127,8 +127,6 @@ enum iparam_examples {
IPARAM_PARALLEL_TASKS
,
IPARAM_PARALLEL_TASKS
,
IPARAM_NO_CPU
,
IPARAM_NO_CPU
,
IPARAM_BOUND
,
IPARAM_BOUND
,
IPARAM_BOUNDDEPS
,
IPARAM_BOUNDDEPSPRIO
,
/* End */
/* End */
IPARAM_SIZEOF
IPARAM_SIZEOF
};
};
...
@@ -191,8 +189,6 @@ static void init_iparam(int iparam[IPARAM_SIZEOF]){
...
@@ -191,8 +189,6 @@ static void init_iparam(int iparam[IPARAM_SIZEOF]){
iparam
[
IPARAM_PARALLEL_TASKS
]
=
0
;
iparam
[
IPARAM_PARALLEL_TASKS
]
=
0
;
iparam
[
IPARAM_NO_CPU
]
=
0
;
iparam
[
IPARAM_NO_CPU
]
=
0
;
iparam
[
IPARAM_BOUND
]
=
0
;
iparam
[
IPARAM_BOUND
]
=
0
;
iparam
[
IPARAM_BOUNDDEPS
]
=
0
;
iparam
[
IPARAM_BOUNDDEPSPRIO
]
=
0
;
}
}
static
void
read_args
(
int
argc
,
char
*
argv
[],
int
*
iparam
){
static
void
read_args
(
int
argc
,
char
*
argv
[],
int
*
iparam
){
...
...
This diff is collapsed.
Click to expand it.
timing/timing.c
+
7
−
34
View file @
b20c3384
...
@@ -201,33 +201,15 @@ Test(int64_t n, int *iparam) {
...
@@ -201,33 +201,15 @@ Test(int64_t n, int *iparam) {
gflops
=
flops
/
t
[
iter
];
gflops
=
flops
/
t
[
iter
];
#if defined (CHAMELEON_SCHED_STARPU)
#if defined (CHAMELEON_SCHED_STARPU)
/* TODO: create chameleon interface encapsulating this instead */
if
(
iparam
[
IPARAM_BOUND
])
if
(
iparam
[
IPARAM_BOUND
])
{
{
double
upper_gflops
=
0
.
0
;
double
upper_gflops
=
0
.
0
;
double
tmin
=
0
.
0
;
double
tmin
=
0
.
0
;
double
integer_tmin
=
0
.
0
;
double
integer_tmin
=
0
.
0
;
#if 0
starpu_bound_compute
(
&
tmin
,
&
integer_tmin
,
0
);
if (iparam[IPARAM_BOUNDDEPS]) {
upper_gflops
=
(
flops
/
(
tmin
/
1000
.
0
));
FILE *out = fopen("bounddeps.pl", "w");
sumgf_upper
+=
upper_gflops
;
starpu_bound_print_lp(out);
fclose(out);
out = fopen("bound.dot", "w");
starpu_bound_print_dot(out);
fclose(out);
} else {
FILE *out = fopen("bound.pl", "w");
starpu_bound_print_lp(out);
fclose(out);
#else
{
#endif
starpu_bound_compute
(
&
tmin
,
&
integer_tmin
,
0
);
upper_gflops
=
(
flops
/
(
tmin
/
1000
.
0
));
sumgf_upper
+=
upper_gflops
;
}
#if 0
}
#endif
}
}
#endif
#endif
sumt
+=
t
[
iter
];
sumt
+=
t
[
iter
];
...
@@ -241,7 +223,7 @@ Test(int64_t n, int *iparam) {
...
@@ -241,7 +223,7 @@ Test(int64_t n, int *iparam) {
if
(
MORSE_My_Mpi_Rank
()
==
0
)
{
if
(
MORSE_My_Mpi_Rank
()
==
0
)
{
printf
(
"%9.3f %9.2f +-%7.2f "
,
sumt
/
niter
,
gflops
,
sd
);
printf
(
"%9.3f %9.2f +-%7.2f "
,
sumt
/
niter
,
gflops
,
sd
);
if
(
iparam
[
IPARAM_BOUND
]
&&
!
iparam
[
IPARAM_BOUNDDEPS
]
)
if
(
iparam
[
IPARAM_BOUND
])
printf
(
" %9.2f"
,
sumgf_upper
/
niter
);
printf
(
" %9.2f"
,
sumgf_upper
/
niter
);
if
(
iparam
[
IPARAM_PEAK
]
)
if
(
iparam
[
IPARAM_PEAK
]
)
...
@@ -408,9 +390,7 @@ show_help(char *prog_name) {
...
@@ -408,9 +390,7 @@ show_help(char *prog_name) {
" -o, --ooc Enable out-of-core (available only with StarPU)
\n
"
" -o, --ooc Enable out-of-core (available only with StarPU)
\n
"
" -G, --gemm3m Use gemm3m complex method
\n
"
" -G, --gemm3m Use gemm3m complex method
\n
"
//" --peak ?\n"todo
//" --peak ?\n"todo
//" --bound ?\n"todo
" --bound Compare result to area bound
\n
"
//" --bounddeps ?\n"todo
//" --bounddepsprio ?\n"todo
"
\n
"
);
"
\n
"
);
}
}
...
@@ -458,7 +438,7 @@ print_header(char *prog_name, int * iparam) {
...
@@ -458,7 +438,7 @@ print_header(char *prog_name, int * iparam) {
return
;
return
;
}
}
#define GETOPT_STRING "ht:g:P:8M:m:N:n:K:k:b:i:x:X:1:WwcCT2dpa:l:L:D9:3soG45
67
"
#define GETOPT_STRING "ht:g:P:8M:m:N:n:K:k:b:i:x:X:1:WwcCT2dpa:l:L:D9:3soG45"
#if defined(CHAMELEON_HAVE_GETOPT_LONG)
#if defined(CHAMELEON_HAVE_GETOPT_LONG)
static
struct
option
long_options
[]
=
static
struct
option
long_options
[]
=
{
{
...
@@ -506,8 +486,6 @@ static struct option long_options[] =
...
@@ -506,8 +486,6 @@ static struct option long_options[] =
{
"gemm3m"
,
no_argument
,
0
,
'G'
},
{
"gemm3m"
,
no_argument
,
0
,
'G'
},
{
"peak"
,
no_argument
,
0
,
'4'
},
{
"peak"
,
no_argument
,
0
,
'4'
},
{
"bound"
,
no_argument
,
0
,
'5'
},
{
"bound"
,
no_argument
,
0
,
'5'
},
{
"bounddeps"
,
no_argument
,
0
,
'6'
},
{
"bounddepsprio"
,
no_argument
,
0
,
'7'
},
{
0
,
0
,
0
,
0
}
{
0
,
0
,
0
,
0
}
};
};
#endif
/* defined(CHAMELEON_HAVE_GETOPT_LONG) */
#endif
/* defined(CHAMELEON_HAVE_GETOPT_LONG) */
...
@@ -637,11 +615,6 @@ parse_arguments(int *_argc, char ***_argv, int *iparam, int *start, int *stop, i
...
@@ -637,11 +615,6 @@ parse_arguments(int *_argc, char ***_argv, int *iparam, int *start, int *stop, i
case
'G'
:
iparam
[
IPARAM_GEMM3M
]
=
1
;
break
;
case
'G'
:
iparam
[
IPARAM_GEMM3M
]
=
1
;
break
;
case
'4'
:
iparam
[
IPARAM_PEAK
]
=
1
;
break
;
case
'4'
:
iparam
[
IPARAM_PEAK
]
=
1
;
break
;
case
'5'
:
iparam
[
IPARAM_BOUND
]
=
1
;
break
;
case
'5'
:
iparam
[
IPARAM_BOUND
]
=
1
;
break
;
case
'6'
:
iparam
[
IPARAM_BOUND
]
=
1
;
iparam
[
IPARAM_BOUNDDEPS
]
=
1
;
break
;
case
'7'
:
iparam
[
IPARAM_BOUND
]
=
1
;
iparam
[
IPARAM_BOUNDDEPS
]
=
1
;
iparam
[
IPARAM_BOUNDDEPSPRIO
]
=
1
;
break
;
case
'h'
:
case
'h'
:
case
'?'
:
case
'?'
:
show_help
(
argv
[
0
]);
exit
(
EXIT_FAILURE
);
show_help
(
argv
[
0
]);
exit
(
EXIT_FAILURE
);
...
...
This diff is collapsed.
Click to expand it.
timing/timing.h
+
0
−
2
View file @
b20c3384
...
@@ -59,8 +59,6 @@ enum iparam_timing {
...
@@ -59,8 +59,6 @@ enum iparam_timing {
IPARAM_PARALLEL_TASKS
,
IPARAM_PARALLEL_TASKS
,
IPARAM_NO_CPU
,
IPARAM_NO_CPU
,
IPARAM_BOUND
,
IPARAM_BOUND
,
IPARAM_BOUNDDEPS
,
IPARAM_BOUNDDEPSPRIO
,
/* End */
/* End */
/* Added for libhqr version */
/* Added for libhqr version */
IPARAM_LOWLVL_TREE
,
/* Tree used for reduction inside nodes */
IPARAM_LOWLVL_TREE
,
/* Tree used for reduction inside nodes */
...
...
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