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
e0f5d6e5
Commit
e0f5d6e5
authored
7 years ago
by
Mathieu Faverge
Browse files
Options
Downloads
Patches
Plain Diff
Add new kernels to parsec
parent
21bc5a7f
No related branches found
No related tags found
1 merge request
!81
Migration QR/LQ
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
runtime/parsec/codelets/codelet_ztplqt.c
+77
-0
77 additions, 0 deletions
runtime/parsec/codelets/codelet_ztplqt.c
runtime/parsec/codelets/codelet_ztpmlqt.c
+89
-0
89 additions, 0 deletions
runtime/parsec/codelets/codelet_ztpmlqt.c
with
166 additions
and
0 deletions
runtime/parsec/codelets/codelet_ztplqt.c
0 → 100644
+
77
−
0
View file @
e0f5d6e5
/**
*
* @copyright (c) 2009-2016 The University of Tennessee and The University
* of Tennessee Research Foundation.
* All rights reserved.
* @copyright (c) 2012-2016 Bordeaux INP, CNRS (LaBRI UMR 5800), Inria,
* Univ. Bordeaux. All rights reserved.
*
**/
/**
*
* @file codelet_ztplqt.c
*
* MORSE codelets kernel
* MORSE is a software package provided by Univ. of Tennessee,
* Univ. of California Berkeley and Univ. of Colorado Denver
*
* @version 0.9.0
* @author Mathieu Faverge
* @date 2016-12-15
* @precisions normal z -> s d c
*
**/
#include
"chameleon_parsec.h"
#include
"chameleon/morse_tasks_z.h"
#include
"coreblas/coreblas_z.h"
static
inline
int
CORE_ztplqt_parsec
(
parsec_execution_stream_t
*
context
,
parsec_task_t
*
this_task
)
{
int
M
;
int
N
;
int
L
;
int
ib
;
MORSE_Complex64_t
*
A
;
int
lda
;
MORSE_Complex64_t
*
B
;
int
ldb
;
MORSE_Complex64_t
*
T
;
int
ldt
;
MORSE_Complex64_t
*
WORK
;
parsec_dtd_unpack_args
(
this_task
,
&
M
,
&
N
,
&
L
,
&
ib
,
&
A
,
&
lda
,
&
B
,
&
ldb
,
&
T
,
&
ldt
,
&
WORK
);
CORE_ztplqt
(
M
,
N
,
L
,
ib
,
A
,
lda
,
B
,
ldb
,
T
,
ldt
,
WORK
);
(
void
)
context
;
return
PARSEC_HOOK_RETURN_DONE
;
}
void
MORSE_TASK_ztplqt
(
const
MORSE_option_t
*
options
,
int
M
,
int
N
,
int
L
,
int
ib
,
int
nb
,
const
MORSE_desc_t
*
A
,
int
Am
,
int
An
,
int
lda
,
const
MORSE_desc_t
*
B
,
int
Bm
,
int
Bn
,
int
ldb
,
const
MORSE_desc_t
*
T
,
int
Tm
,
int
Tn
,
int
ldt
)
{
parsec_taskpool_t
*
PARSEC_dtd_taskpool
=
(
parsec_taskpool_t
*
)(
options
->
sequence
->
schedopt
);
parsec_dtd_taskpool_insert_task
(
PARSEC_dtd_taskpool
,
CORE_ztplqt_parsec
,
options
->
priority
,
"tplqt"
,
sizeof
(
int
),
&
M
,
VALUE
,
sizeof
(
int
),
&
N
,
VALUE
,
sizeof
(
int
),
&
L
,
VALUE
,
sizeof
(
int
),
&
ib
,
VALUE
,
PASSED_BY_REF
,
RTBLKADDR
(
A
,
MORSE_Complex64_t
,
Am
,
An
),
INOUT
,
sizeof
(
int
),
&
lda
,
VALUE
,
PASSED_BY_REF
,
RTBLKADDR
(
B
,
MORSE_Complex64_t
,
Bm
,
Bn
),
INOUT
,
sizeof
(
int
),
&
ldb
,
VALUE
,
PASSED_BY_REF
,
RTBLKADDR
(
T
,
MORSE_Complex64_t
,
Tm
,
Tn
),
OUTPUT
,
sizeof
(
int
),
&
ldt
,
VALUE
,
sizeof
(
MORSE_Complex64_t
)
*
(
ib
+
1
)
*
nb
,
NULL
,
SCRATCH
,
PARSEC_DTD_ARG_END
);
}
This diff is collapsed.
Click to expand it.
runtime/parsec/codelets/codelet_ztpmlqt.c
0 → 100644
+
89
−
0
View file @
e0f5d6e5
/**
*
* @copyright (c) 2009-2016 The University of Tennessee and The University
* of Tennessee Research Foundation.
* All rights reserved.
* @copyright (c) 2012-2016 Bordeaux INP, CNRS (LaBRI UMR 5800), Inria,
* Univ. Bordeaux. All rights reserved.
*
**/
/**
*
* @file codelet_ztpmlqt.c
*
* MORSE codelets kernel
* MORSE is a software package provided by Univ. of Tennessee,
* Univ. of California Berkeley and Univ. of Colorado Denver
*
* @version 0.9.0
* @author Mathieu Faverge
* @date 2016-12-15
* @precisions normal z -> s d c
*
**/
#include
"chameleon_parsec.h"
#include
"chameleon/morse_tasks_z.h"
#include
"coreblas/coreblas_z.h"
static
inline
int
CORE_ztpmlqt_parsec
(
parsec_execution_stream_t
*
context
,
parsec_task_t
*
this_task
)
{
MORSE_enum
side
;
MORSE_enum
trans
;
int
M
;
int
N
;
int
K
;
int
L
;
int
ib
;
const
MORSE_Complex64_t
*
V
;
int
ldv
;
const
MORSE_Complex64_t
*
T
;
int
ldt
;
MORSE_Complex64_t
*
A
;
int
lda
;
MORSE_Complex64_t
*
B
;
int
ldb
;
MORSE_Complex64_t
*
WORK
;
parsec_dtd_unpack_args
(
this_task
,
&
side
,
&
trans
,
&
M
,
&
N
,
&
K
,
&
L
,
&
ib
,
&
V
,
&
ldv
,
&
T
,
&
ldt
,
&
A
,
&
lda
,
&
B
,
&
ldb
,
&
WORK
);
CORE_ztpmlqt
(
side
,
trans
,
M
,
N
,
K
,
L
,
ib
,
V
,
ldv
,
T
,
ldt
,
A
,
lda
,
B
,
ldb
,
WORK
);
(
void
)
context
;
return
PARSEC_HOOK_RETURN_DONE
;
}
void
MORSE_TASK_ztpmlqt
(
const
MORSE_option_t
*
options
,
MORSE_enum
side
,
MORSE_enum
trans
,
int
M
,
int
N
,
int
K
,
int
L
,
int
ib
,
int
nb
,
const
MORSE_desc_t
*
V
,
int
Vm
,
int
Vn
,
int
ldv
,
const
MORSE_desc_t
*
T
,
int
Tm
,
int
Tn
,
int
ldt
,
const
MORSE_desc_t
*
A
,
int
Am
,
int
An
,
int
lda
,
const
MORSE_desc_t
*
B
,
int
Bm
,
int
Bn
,
int
ldb
)
{
parsec_taskpool_t
*
PARSEC_dtd_taskpool
=
(
parsec_taskpool_t
*
)(
options
->
sequence
->
schedopt
);
parsec_dtd_taskpool_insert_task
(
PARSEC_dtd_taskpool
,
CORE_ztpmlqt_parsec
,
options
->
priority
,
"tpmlqt"
,
sizeof
(
MORSE_enum
),
&
side
,
VALUE
,
sizeof
(
MORSE_enum
),
&
trans
,
VALUE
,
sizeof
(
int
),
&
M
,
VALUE
,
sizeof
(
int
),
&
N
,
VALUE
,
sizeof
(
int
),
&
K
,
VALUE
,
sizeof
(
int
),
&
L
,
VALUE
,
sizeof
(
int
),
&
ib
,
VALUE
,
PASSED_BY_REF
,
RTBLKADDR
(
V
,
MORSE_Complex64_t
,
Vm
,
Vn
),
INPUT
,
sizeof
(
int
),
&
ldv
,
VALUE
,
PASSED_BY_REF
,
RTBLKADDR
(
T
,
MORSE_Complex64_t
,
Tm
,
Tn
),
INPUT
,
sizeof
(
int
),
&
ldt
,
VALUE
,
PASSED_BY_REF
,
RTBLKADDR
(
A
,
MORSE_Complex64_t
,
Am
,
An
),
INOUT
,
sizeof
(
int
),
&
lda
,
VALUE
,
PASSED_BY_REF
,
RTBLKADDR
(
B
,
MORSE_Complex64_t
,
Bm
,
Bn
),
INOUT
,
sizeof
(
int
),
&
ldb
,
VALUE
,
sizeof
(
MORSE_Complex64_t
)
*
ib
*
nb
,
NULL
,
SCRATCH
,
PARSEC_DTD_ARG_END
);
}
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