Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
AGULLO Emmanuel
Chameleon
Commits
4afab39d
Commit
4afab39d
authored
Jan 24, 2019
by
Mathieu Faverge
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix axpy interface
parent
0f2ad71b
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
14 additions
and
10 deletions
+14
-10
include/chameleon/tasks_z.h
include/chameleon/tasks_z.h
+4
-0
runtime/parsec/codelets/codelet_zaxpy.c
runtime/parsec/codelets/codelet_zaxpy.c
+5
-5
runtime/quark/codelets/codelet_zaxpy.c
runtime/quark/codelets/codelet_zaxpy.c
+4
-4
runtime/starpu/codelets/codelet_zaxpy.c
runtime/starpu/codelets/codelet_zaxpy.c
+1
-1
No files found.
include/chameleon/tasks_z.h
View file @
4afab39d
...
...
@@ -34,6 +34,10 @@ void INSERT_TASK_dzasum( const RUNTIME_option_t *options,
cham_store_t
storev
,
cham_uplo_t
uplo
,
int
M
,
int
N
,
const
CHAM_desc_t
*
A
,
int
Am
,
int
An
,
int
lda
,
const
CHAM_desc_t
*
B
,
int
Bm
,
int
Bn
);
void
INSERT_TASK_zaxpy
(
const
RUNTIME_option_t
*
options
,
int
M
,
CHAMELEON_Complex64_t
alpha
,
const
CHAM_desc_t
*
A
,
int
Am
,
int
An
,
int
incA
,
const
CHAM_desc_t
*
B
,
int
Bm
,
int
Bn
,
int
incB
);
void
INSERT_TASK_zgeadd
(
const
RUNTIME_option_t
*
options
,
cham_trans_t
trans
,
int
m
,
int
n
,
int
nb
,
CHAMELEON_Complex64_t
alpha
,
const
CHAM_desc_t
*
A
,
int
Am
,
int
An
,
int
lda
,
...
...
runtime/parsec/codelets/codelet_zaxpy.c
View file @
4afab39d
...
...
@@ -49,11 +49,11 @@ void INSERT_TASK_zaxpy(const RUNTIME_option_t *options,
parsec_dtd_taskpool_insert_task
(
PARSEC_dtd_taskpool
,
CORE_zaxpy_parsec
,
options
->
priority
,
"axpy"
,
sizeof
(
int
),
&
M
,
VALUE
,
sizeof
(
int
),
&
M
,
VALUE
,
sizeof
(
CHAMELEON_Complex64_t
),
&
alpha
,
VALUE
,
PASSED_BY_REF
,
RTBLKADDR
(
A
,
CHAMELEON_Complex64_t
,
Am
,
An
),
chameleon_parsec_get_arena_index
(
A
)
|
INPUT
,
sizeof
(
int
),
&
incA
,
VALUE
,
PASSED_BY_REF
,
RTBLKADDR
(
B
,
CHAMELEON_Complex64_t
,
Bm
,
Bn
),
chameleon_parsec_get_arena_index
(
B
)
|
INOUT
|
AFFINITY
,
sizeof
(
int
),
&
incB
,
VALUE
,
PASSED_BY_REF
,
RTBLKADDR
(
A
,
CHAMELEON_Complex64_t
,
Am
,
An
),
chameleon_parsec_get_arena_index
(
A
)
|
INPUT
,
sizeof
(
int
),
&
incA
,
VALUE
,
PASSED_BY_REF
,
RTBLKADDR
(
B
,
CHAMELEON_Complex64_t
,
Bm
,
Bn
),
chameleon_parsec_get_arena_index
(
B
)
|
INOUT
|
AFFINITY
,
sizeof
(
int
),
&
incB
,
VALUE
,
PARSEC_DTD_ARG_END
);
}
runtime/quark/codelets/codelet_zaxpy.c
View file @
4afab39d
...
...
@@ -37,7 +37,7 @@ void CORE_zaxpy_quark(Quark *quark)
}
void
INSERT_TASK_zaxpy
(
const
RUNTIME_option_t
*
options
,
int
M
,
CHAMELEON_Complex64_t
*
alpha
,
int
M
,
CHAMELEON_Complex64_t
alpha
,
const
CHAM_desc_t
*
A
,
int
Am
,
int
An
,
int
incA
,
const
CHAM_desc_t
*
B
,
int
Bm
,
int
Bn
,
int
incB
)
{
...
...
@@ -45,10 +45,10 @@ void INSERT_TASK_zaxpy(const RUNTIME_option_t *options,
DAG_CORE_AXPY
;
QUARK_Insert_Task
(
opt
->
quark
,
CORE_zaxpy_quark
,
(
Quark_Task_Flags
*
)
opt
,
sizeof
(
int
),
&
M
,
VALUE
,
sizeof
(
CHAMELEON_Complex64_t
),
alpha
,
VALUE
,
sizeof
(
CHAMELEON_Complex64_t
)
*
M
,
RTBLKADDR
(
A
,
CHAMELEON_Complex64_t
,
Am
,
An
),
INPUT
,
sizeof
(
CHAMELEON_Complex64_t
),
&
alpha
,
VALUE
,
sizeof
(
CHAMELEON_Complex64_t
)
*
M
,
RTBLKADDR
(
A
,
CHAMELEON_Complex64_t
,
Am
,
An
),
INPUT
,
sizeof
(
int
),
&
incA
,
VALUE
,
sizeof
(
CHAMELEON_Complex64_t
)
*
M
,
RTBLKADDR
(
B
,
CHAMELEON_Complex64_t
,
Bm
,
Bn
),
INOUT
,
sizeof
(
CHAMELEON_Complex64_t
)
*
M
,
RTBLKADDR
(
B
,
CHAMELEON_Complex64_t
,
Bm
,
Bn
),
INOUT
,
sizeof
(
int
),
&
incB
,
VALUE
,
0
);
}
runtime/starpu/codelets/codelet_zaxpy.c
View file @
4afab39d
...
...
@@ -36,7 +36,7 @@ void INSERT_TASK_zaxpy(const RUNTIME_option_t *options,
starpu_insert_task
(
starpu_mpi_codelet
(
codelet
),
STARPU_VALUE
,
&
M
,
sizeof
(
int
),
STARPU_VALUE
,
alpha
,
sizeof
(
CHAMELEON_Complex64_t
),
STARPU_VALUE
,
&
alpha
,
sizeof
(
CHAMELEON_Complex64_t
),
STARPU_R
,
RTBLKADDR
(
A
,
CHAMELEON_Complex64_t
,
Am
,
An
),
STARPU_VALUE
,
&
incA
,
sizeof
(
int
),
STARPU_RW
,
RTBLKADDR
(
B
,
CHAMELEON_Complex64_t
,
Bm
,
Bn
),
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment