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
3e18e592
Commit
3e18e592
authored
3 months ago
by
Mathieu Faverge
Browse files
Options
Downloads
Patches
Plain Diff
compute/gepdf: cuda QR call MUST have the diagonal copy to be valid
parent
9f163533
No related branches found
No related tags found
1 merge request
!507
ci: add test_starpu_cuda
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
compute/zgepdf_qr.c
+27
-5
27 additions, 5 deletions
compute/zgepdf_qr.c
with
27 additions
and
5 deletions
compute/zgepdf_qr.c
+
27
−
5
View file @
3e18e592
...
@@ -82,10 +82,12 @@ int CHAMELEON_zgepdf_qr_Tile( int doqr, int optid,
...
@@ -82,10 +82,12 @@ int CHAMELEON_zgepdf_qr_Tile( int doqr, int optid,
CHAM_desc_t
*
A1
,
CHAM_desc_t
*
TS1
,
CHAM_desc_t
*
TT1
,
CHAM_desc_t
*
Q1
,
CHAM_desc_t
*
A1
,
CHAM_desc_t
*
TS1
,
CHAM_desc_t
*
TT1
,
CHAM_desc_t
*
Q1
,
CHAM_desc_t
*
A2
,
CHAM_desc_t
*
TS2
,
CHAM_desc_t
*
TT2
,
CHAM_desc_t
*
Q2
)
CHAM_desc_t
*
A2
,
CHAM_desc_t
*
TS2
,
CHAM_desc_t
*
TT2
,
CHAM_desc_t
*
Q2
)
{
{
CHAM_context_t
*
chamctxt
;
CHAM_context_t
*
chamctxt
;
RUNTIME_sequence_t
*
sequence
=
NULL
;
RUNTIME_sequence_t
*
sequence
=
NULL
;
RUNTIME_request_t
request
=
RUNTIME_REQUEST_INITIALIZER
;
RUNTIME_request_t
request
=
RUNTIME_REQUEST_INITIALIZER
;
int
status
;
CHAM_desc_t
D1
,
*
D1ptr
=
NULL
;
CHAM_desc_t
D2
,
*
D2ptr
=
NULL
;
int
status
;
chamctxt
=
chameleon_context_self
();
chamctxt
=
chameleon_context_self
();
if
(
chamctxt
==
NULL
)
{
if
(
chamctxt
==
NULL
)
{
...
@@ -94,16 +96,36 @@ int CHAMELEON_zgepdf_qr_Tile( int doqr, int optid,
...
@@ -94,16 +96,36 @@ int CHAMELEON_zgepdf_qr_Tile( int doqr, int optid,
}
}
chameleon_sequence_create
(
chamctxt
,
&
sequence
);
chameleon_sequence_create
(
chamctxt
,
&
sequence
);
#if defined(CHAMELEON_COPY_DIAG)
{
int
n
=
A1
->
n
;
chameleon_zdesc_copy_and_restrict
(
A1
,
&
D1
,
A1
->
m
,
n
);
D1ptr
=
&
D1
;
chameleon_zdesc_copy_and_restrict
(
A2
,
&
D2
,
A2
->
m
,
n
);
D2ptr
=
&
D2
;
}
#endif
chameleon_pzgepdf_qr
(
1
,
doqr
,
optid
,
qrtreeT
,
qrtreeB
,
chameleon_pzgepdf_qr
(
1
,
doqr
,
optid
,
qrtreeT
,
qrtreeB
,
A1
,
TS1
,
TT1
,
NULL
,
Q1
,
A1
,
TS1
,
TT1
,
D1ptr
,
Q1
,
A2
,
TS2
,
TT2
,
NULL
,
Q2
,
A2
,
TS2
,
TT2
,
D2ptr
,
Q2
,
sequence
,
&
request
);
sequence
,
&
request
);
CHAMELEON_Desc_Flush
(
Q1
,
sequence
);
CHAMELEON_Desc_Flush
(
Q1
,
sequence
);
CHAMELEON_Desc_Flush
(
Q2
,
sequence
);
CHAMELEON_Desc_Flush
(
Q2
,
sequence
);
if
(
D1ptr
!=
NULL
)
{
CHAMELEON_Desc_Flush
(
D1ptr
,
sequence
);
CHAMELEON_Desc_Flush
(
D2ptr
,
sequence
);
}
chameleon_sequence_wait
(
chamctxt
,
sequence
);
chameleon_sequence_wait
(
chamctxt
,
sequence
);
status
=
sequence
->
status
;
status
=
sequence
->
status
;
chameleon_sequence_destroy
(
chamctxt
,
sequence
);
chameleon_sequence_destroy
(
chamctxt
,
sequence
);
if
(
D1ptr
!=
NULL
)
{
chameleon_desc_destroy
(
D1ptr
);
chameleon_desc_destroy
(
D2ptr
);
}
return
status
;
return
status
;
}
}
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