Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
AGULLO Emmanuel
Chameleon
Commits
cd4c0d37
Commit
cd4c0d37
authored
Nov 19, 2014
by
PRUVOST Florent
Browse files
activate MAGMA kernels for simulation mode
parent
fe876064
Changes
16
Hide whitespace changes
Inline
Side-by-side
runtime/starpu/codelets/codelet_zgelqt.c
View file @
cd4c0d37
...
...
@@ -336,7 +336,7 @@ static void cl_zgelqt_cuda_func(void *descr[], void *cl_arg)
/*
* Codelet definition
*/
#if defined(CHAMELEON_USE_MAGMA)
#if defined(CHAMELEON_USE_MAGMA)
|| defined(CHAMELEON_SIMULATION)
CODELETS
(
zgelqt
,
3
,
cl_zgelqt_cpu_func
,
cl_zgelqt_cuda_func
,
0
)
#else
CODELETS_CPU
(
zgelqt
,
3
,
cl_zgelqt_cpu_func
)
...
...
runtime/starpu/codelets/codelet_zgeqrt.c
View file @
cd4c0d37
...
...
@@ -381,7 +381,7 @@ static void cl_zgeqrt_cuda_func(void *descr[], void *cl_arg)
/*
* Codelet definition
*/
#if defined(CHAMELEON_USE_MAGMA)
#if defined(CHAMELEON_USE_MAGMA)
|| defined(CHAMELEON_SIMULATION)
CODELETS
(
zgeqrt
,
3
,
cl_zgeqrt_cpu_func
,
cl_zgeqrt_cuda_func
,
0
)
#else
CODELETS_CPU
(
zgeqrt
,
3
,
cl_zgeqrt_cpu_func
)
...
...
runtime/starpu/codelets/codelet_zgessm.c
View file @
cd4c0d37
...
...
@@ -182,7 +182,7 @@ static void cl_zgessm_cuda_func(void *descr[], void *cl_arg)
/*
* Codelet definition
*/
#if defined(CHAMELEON_USE_MAGMA) && defined(HAVE_MAGMA_GETRF_INCPIV_GPU)
#if
(
defined(CHAMELEON_USE_MAGMA) && defined(HAVE_MAGMA_GETRF_INCPIV_GPU)
) || defined(CHAMELEON_SIMULATION)
CODELETS
(
zgessm
,
3
,
cl_zgessm_cpu_func
,
cl_zgessm_cuda_func
,
0
)
#else
CODELETS_CPU
(
zgessm
,
3
,
cl_zgessm_cpu_func
)
...
...
runtime/starpu/codelets/codelet_zgetrf_incpiv.c
View file @
cd4c0d37
...
...
@@ -229,7 +229,7 @@ static void cl_zgetrf_incpiv_cuda_func(void *descr[], void *cl_arg)
/*
* Codelet definition
*/
#if defined(CHAMELEON_USE_MAGMA) && defined(HAVE_MAGMA_GETRF_INCPIV_GPU)
#if
(
defined(CHAMELEON_USE_MAGMA) && defined(HAVE_MAGMA_GETRF_INCPIV_GPU)
) || defined(CHAMELEON_SIMULATION)
CODELETS
(
zgetrf_incpiv
,
3
,
cl_zgetrf_incpiv_cpu_func
,
cl_zgetrf_incpiv_cuda_func
,
0
)
#else
CODELETS_CPU
(
zgetrf_incpiv
,
3
,
cl_zgetrf_incpiv_cpu_func
)
...
...
runtime/starpu/codelets/codelet_zgetrf_nopiv.c
View file @
cd4c0d37
...
...
@@ -144,7 +144,7 @@ static void cl_zgetrf_nopiv_cuda_func(void *descr[], void *cl_arg)
/*
* Codelet definition
*/
#if defined(CHAMELEON_USE_MAGMA)
#if defined(CHAMELEON_USE_MAGMA)
|| defined(CHAMELEON_SIMULATION)
CODELETS
(
zgetrf_nopiv
,
1
,
cl_zgetrf_nopiv_cpu_func
,
cl_zgetrf_nopiv_cuda_func
,
0
)
#else
CODELETS_CPU
(
zgetrf_nopiv
,
1
,
cl_zgetrf_nopiv_cpu_func
)
...
...
runtime/starpu/codelets/codelet_zlauum.c
View file @
cd4c0d37
...
...
@@ -99,7 +99,7 @@ static void cl_zlauum_cuda_func(void *descr[], void *cl_arg)
/*
* Codelet definition
*/
#if defined(CHAMELEON_USE_MAGMA)
#if defined(CHAMELEON_USE_MAGMA)
|| defined(CHAMELEON_SIMULATION)
CODELETS
(
zlauum
,
1
,
cl_zlauum_cpu_func
,
cl_zlauum_cuda_func
,
0
)
#else
CODELETS_CPU
(
zlauum
,
1
,
cl_zlauum_cpu_func
)
...
...
runtime/starpu/codelets/codelet_zpotrf.c
View file @
cd4c0d37
...
...
@@ -129,7 +129,7 @@ static void cl_zpotrf_cuda_func(void *descr[], void *cl_arg)
/*
* Codelet definition
*/
#ifdef CHAMELEON_USE_MAGMA
#if
def
ined
CHAMELEON_USE_MAGMA
|| defined(CHAMELEON_SIMULATION)
CODELETS
(
zpotrf
,
1
,
cl_zpotrf_cpu_func
,
cl_zpotrf_cuda_func
,
0
)
#else
CODELETS_CPU
(
zpotrf
,
1
,
cl_zpotrf_cpu_func
)
...
...
runtime/starpu/codelets/codelet_zssssm.c
View file @
cd4c0d37
...
...
@@ -215,7 +215,7 @@ static void cl_zssssm_cuda_func(void *descr[], void *cl_arg)
/*
* Codelet definition
*/
#if defined(CHAMELEON_USE_MAGMA) && defined(HAVE_MAGMA_GETRF_INCPIV_GPU)
#if
(
defined(CHAMELEON_USE_MAGMA) && defined(HAVE_MAGMA_GETRF_INCPIV_GPU)
) || defined(CHAMELEON_SIMULATION)
CODELETS
(
zssssm
,
4
,
cl_zssssm_cpu_func
,
cl_zssssm_cuda_func
,
0
)
#else
CODELETS_CPU
(
zssssm
,
4
,
cl_zssssm_cpu_func
)
...
...
runtime/starpu/codelets/codelet_ztrtri.c
View file @
cd4c0d37
...
...
@@ -114,7 +114,7 @@ static void cl_ztrtri_cuda_func(void *descr[], void *cl_arg)
/*
* Codelet definition
*/
#if defined(CHAMELEON_USE_MAGMA)
#if defined(CHAMELEON_USE_MAGMA)
|| defined(CHAMELEON_SIMULATION)
CODELETS
(
ztrtri
,
1
,
cl_ztrtri_cpu_func
,
cl_ztrtri_cuda_func
,
0
)
#else
CODELETS_CPU
(
ztrtri
,
1
,
cl_ztrtri_cpu_func
)
...
...
runtime/starpu/codelets/codelet_ztslqt.c
View file @
cd4c0d37
...
...
@@ -367,7 +367,7 @@ static void cl_ztslqt_cuda_func(void *descr[], void *cl_arg)
/*
* Codelet definition
*/
#if defined(CHAMELEON_USE_MAGMA)
#if defined(CHAMELEON_USE_MAGMA)
|| defined(CHAMELEON_SIMULATION)
CODELETS
(
ztslqt
,
4
,
cl_ztslqt_cpu_func
,
cl_ztslqt_cuda_func
,
0
)
#else
CODELETS_CPU
(
ztslqt
,
4
,
cl_ztslqt_cpu_func
)
...
...
runtime/starpu/codelets/codelet_ztsmlq.c
View file @
cd4c0d37
...
...
@@ -393,7 +393,7 @@ static void cl_ztsmlq_cuda_func(void *descr[], void *cl_arg)
/*
* Codelet definition
*/
#if defined(CHAMELEON_USE_MAGMA)
#if defined(CHAMELEON_USE_MAGMA)
|| defined(CHAMELEON_SIMULATION)
CODELETS
(
ztsmlq
,
5
,
cl_ztsmlq_cpu_func
,
cl_ztsmlq_cuda_func
,
STARPU_CUDA_ASYNC
)
#else
CODELETS_CPU
(
ztsmlq
,
5
,
cl_ztsmlq_cpu_func
)
...
...
runtime/starpu/codelets/codelet_ztsmqr.c
View file @
cd4c0d37
...
...
@@ -626,7 +626,7 @@ static void cl_ztsmqr_cuda_func(void *descr[], void *cl_arg)
/*
* Codelet definition
*/
#if defined(CHAMELEON_USE_MAGMA)
#if defined(CHAMELEON_USE_MAGMA)
|| defined(CHAMELEON_SIMULATION)
CODELETS
(
ztsmqr
,
5
,
cl_ztsmqr_cpu_func
,
cl_ztsmqr_cuda_func
,
STARPU_CUDA_ASYNC
)
#else
CODELETS_CPU
(
ztsmqr
,
5
,
cl_ztsmqr_cpu_func
)
...
...
runtime/starpu/codelets/codelet_ztsqrt.c
View file @
cd4c0d37
...
...
@@ -358,7 +358,7 @@ static void cl_ztsqrt_cuda_func(void *descr[], void *cl_arg)
/*
* Codelet definition
*/
#if defined(CHAMELEON_USE_MAGMA)
#if defined(CHAMELEON_USE_MAGMA)
|| defined(CHAMELEON_SIMULATION)
CODELETS
(
ztsqrt
,
4
,
cl_ztsqrt_cpu_func
,
cl_ztsqrt_cuda_func
,
0
)
#else
CODELETS_CPU
(
ztsqrt
,
4
,
cl_ztsqrt_cpu_func
)
...
...
runtime/starpu/codelets/codelet_ztstrf.c
View file @
cd4c0d37
...
...
@@ -262,7 +262,7 @@ static void cl_ztstrf_cuda_func(void *descr[], void *cl_arg)
/*
* Codelet definition
*/
#if defined(CHAMELEON_USE_MAGMA) && 0
#if
(
defined(CHAMELEON_USE_MAGMA) && 0
) || defined(CHAMELEON_SIMULATION)
CODELETS
(
ztstrf
,
4
,
cl_ztstrf_cpu_func
,
cl_ztstrf_cuda_func
,
0
)
#else
CODELETS_CPU
(
ztstrf
,
4
,
cl_ztstrf_cpu_func
)
...
...
runtime/starpu/codelets/codelet_zunmlq.c
View file @
cd4c0d37
...
...
@@ -324,7 +324,7 @@ static void cl_zunmlq_cuda_func(void *descr[], void *cl_arg)
/*
* Codelet definition
*/
#if defined(CHAMELEON_USE_MAGMA)
#if defined(CHAMELEON_USE_MAGMA)
|| defined(CHAMELEON_SIMULATION)
CODELETS
(
zunmlq
,
4
,
cl_zunmlq_cpu_func
,
cl_zunmlq_cuda_func
,
0
)
#else
CODELETS_CPU
(
zunmlq
,
4
,
cl_zunmlq_cpu_func
)
...
...
runtime/starpu/codelets/codelet_zunmqr.c
View file @
cd4c0d37
...
...
@@ -318,7 +318,7 @@ static void cl_zunmqr_cuda_func(void *descr[], void *cl_arg)
/*
* Codelet definition
*/
#if defined(CHAMELEON_USE_MAGMA)
#if defined(CHAMELEON_USE_MAGMA)
|| defined(CHAMELEON_SIMULATION)
CODELETS
(
zunmqr
,
4
,
cl_zunmqr_cpu_func
,
cl_zunmqr_cuda_func
,
0
)
#else
CODELETS_CPU
(
zunmqr
,
4
,
cl_zunmqr_cpu_func
)
...
...
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