Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
H
HPC_Imaging
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Claudio Gheller
HPC_Imaging
Commits
3d40f2a6
Commit
3d40f2a6
authored
Mar 4, 2022
by
Nandhana Sakhtivel
Browse files
Options
Downloads
Patches
Plain Diff
Changes in total time calculation
parent
515c0d6a
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
init.c
+4
-0
4 additions, 0 deletions
init.c
main.c
+1
-3
1 addition, 3 deletions
main.c
with
5 additions
and
3 deletions
init.c
+
4
−
0
View file @
3d40f2a6
...
@@ -6,6 +6,10 @@
...
@@ -6,6 +6,10 @@
void
init
(
int
index
)
void
init
(
int
index
)
{
{
clock_gettime
(
CLOCK_MONOTONIC
,
&
begin0
);
start0
=
clock
();
// DAV: the corresponding KernelLen is calculated within the wstack function. It can be anyway hardcoded for optimization
// DAV: the corresponding KernelLen is calculated within the wstack function. It can be anyway hardcoded for optimization
dx
=
1
.
0
/
(
double
)
param
.
grid_size_x
;
dx
=
1
.
0
/
(
double
)
param
.
grid_size_x
;
dw
=
1
.
0
/
(
double
)
param
.
num_w_planes
;
dw
=
1
.
0
/
(
double
)
param
.
num_w_planes
;
...
...
This diff is collapsed.
Click to expand it.
main.c
+
1
−
3
View file @
3d40f2a6
...
@@ -7,6 +7,7 @@
...
@@ -7,6 +7,7 @@
int
main
(
int
argc
,
char
*
argv
[])
int
main
(
int
argc
,
char
*
argv
[])
{
{
if
(
argc
>
1
)
if
(
argc
>
1
)
{
{
strcpy
(
in
.
paramfile
,
argv
[
1
]);
strcpy
(
in
.
paramfile
,
argv
[
1
]);
...
@@ -17,9 +18,6 @@ int main(int argc, char * argv[])
...
@@ -17,9 +18,6 @@ int main(int argc, char * argv[])
exit
(
1
);
exit
(
1
);
}
}
clock_gettime
(
CLOCK_MONOTONIC
,
&
begin0
);
start0
=
clock
();
/* Initializing MPI Environment */
/* Initializing MPI Environment */
#ifdef USE_MPI
#ifdef USE_MPI
...
...
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