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
Merge requests
!49
Something went wrong on our end
Hotfix
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Hotfix
rboucher/chameleon:hotfix
into
master
Overview
0
Commits
5
Pipelines
0
Changes
1
Merged
BOUCHERIE Raphael
requested to merge
rboucher/chameleon:hotfix
into
master
7 years ago
Overview
0
Commits
5
Pipelines
0
Changes
1
Expand
Fix bunch of silent warnings
0
0
Merge request reports
Viewing commit
7260653c
Prev
Next
Show latest version
1 file
+
4
−
2
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
7260653c
avoid computing twice the data pointer in starpu
· 7260653c
BOUCHERIE Raphael
authored
7 years ago
runtime/starpu/control/runtime_descriptor.c
+
4
−
2
Options
@@ -333,14 +333,16 @@ void *RUNTIME_desc_getaddr( const MORSE_desc_t *desc, int m, int n )
int
tempnn
=
(
jn
==
desc
->
lnt
-
1
)
?
(
desc
->
ln
-
jn
*
desc
->
nb
)
:
desc
->
nb
;
if
(
myrank
==
owner
)
{
if
(
desc
->
get_blkaddr
(
desc
,
m
,
n
)
==
(
void
*
)
NULL
)
{
void
*
ptr
=
(
void
*
)(
desc
->
get_blkaddr
(
desc
,
m
,
n
));
if
(
ptr
==
NULL
)
{
starpu_matrix_data_register
(
ptrtile
,
-
1
,
(
uintptr_t
)
NULL
,
BLKLDD
(
desc
,
im
),
tempmm
,
tempnn
,
eltsze
);
}
else
{
starpu_matrix_data_register
(
ptrtile
,
STARPU_MAIN_RAM
,
(
uintptr_t
)
desc
->
get_blkaddr
(
desc
,
m
,
n
)
,
(
uintptr_t
)
ptr
,
BLKLDD
(
desc
,
im
),
tempmm
,
tempnn
,
eltsze
);
}
}
Loading