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
13c9a60c
Commit
13c9a60c
authored
Jul 31, 2017
by
Mathieu Faverge
Browse files
Attempt to replace in parsec but still under progress
parent
e9ec1a9d
Changes
74
Hide whitespace changes
Inline
Side-by-side
runtime/parsec/CMakeLists.txt
View file @
13c9a60c
...
...
@@ -3,8 +3,8 @@
# @copyright (c) 2009-2015 The University of Tennessee and The University
# of Tennessee Research Foundation.
# All rights reserved.
# @copyright (c) 2012-201
5 Inria. All rights reserved.
#
@copyright (c) 2012-2015 Bordeaux INP, CNRS (LaBRI UMR 5800), Inria,
Univ. Bordeaux. All rights reserved.
# @copyright (c) 2012-201
7 Bordeaux INP, CNRS (LaBRI UMR 5800), Inria,
#
Univ. Bordeaux. All rights reserved.
#
###
#
...
...
@@ -26,9 +26,11 @@
# @date 13-07-2012
#
###
cmake_minimum_required
(
VERSION 2.8
)
include_directories
(
${
CMAKE_CURRENT_SOURCE_DIR
}
/include
)
include_directories
(
${
CMAKE_CURRENT_BINARY_DIR
}
/include
)
# Generate headers for all possible precisions
# --------------------------------------------
set
(
RUNTIME_HDRS_GENERATED
""
)
...
...
@@ -42,47 +44,61 @@ set(RUNTIME_HDRS_GENERATED "")
# Define the list of headers
# --------------------------
set
(
RUNTIME_HDRS
include/morse_parsec.h
${
RUNTIME_HDRS_GENERATED
}
include/chameleon_parsec.h
)
# Add generated headers
# ---------------------
foreach
(
hdr_file
${
RUNTIME_HDRS_GENERATED
}
)
list
(
APPEND RUNTIME_HDRS
${
CMAKE_CURRENT_BINARY_DIR
}
/
${
hdr_file
}
)
endforeach
()
# Force generation of headers
# ---------------------------
add_custom_target
(
runtime_parsec_include ALL SOURCES
${
RUNTIME_HDRS
}
)
add_custom_target
(
runtime_parsec_include
ALL SOURCES
${
RUNTIME_HDRS
}
)
# Installation
# ------------
install
(
FILES
${
RUNTIME_HDRS
}
DESTINATION include/runtime/parsec
)
# Generate the
morse
common for all possible precisions
# -----------------------------------------------------
# Generate the
Chameleon
common for all possible precisions
# -----------------------------------------------------
----
set
(
RUNTIME_COMMON_GENERATED
""
)
set
(
ZSRC
control/runtime_zprofiling.c
control/runtime_zlocality.c
)
control/runtime_zprofiling.c
control/runtime_zlocality.c
)
precisions_rules_py
(
RUNTIME_COMMON_GENERATED
"
${
ZSRC
}
"
PRECISIONS
"
${
CHAMELEON_PRECISION
}
"
TARGETDIR
"control"
)
precisions_rules_py
(
RUNTIME_COMMON_GENERATED
"
${
ZSRC
}
"
PRECISIONS
"
${
CHAMELEON_PRECISION
}
"
TARGETDIR
"control"
)
set
(
RUNTIME_COMMON
control/runtime_async.c
control/runtime_context.c
control/runtime_control.c
control/runtime_descriptor.c
control/runtime_options.c
control/runtime_profiling.c
codelets/codelet_dataflush.c
${
RUNTIME_COMMON_GENERATED
}
)
control/runtime_async.c
control/runtime_context.c
control/runtime_control.c
control/runtime_descriptor.c
control/runtime_options.c
control/runtime_profiling.c
codelets/codelet_dataflush.c
${
RUNTIME_COMMON_GENERATED
}
)
# Generate the
morse
sources for all possible precisions
# ------------------------------------------------------
# Generate the
Chameleon
sources for all possible precisions
# ------------------------------------------------------
----
set
(
RUNTIME_SRCS_GENERATED
""
)
set
(
ZSRC
${
CODELETS_ZSRC
}
)
${
CODELETS_ZSRC
}
)
precisions_rules_py
(
RUNTIME_SRCS_GENERATED
"
${
ZSRC
}
"
PRECISIONS
"
${
CHAMELEON_PRECISION
}
"
TARGETDIR
"codelets"
)
PRECISIONS
"
${
CHAMELEON_PRECISION
}
"
TARGETDIR
"codelets"
)
set
(
RUNTIME_SRCS
${
RUNTIME_COMMON
}
...
...
@@ -114,7 +130,7 @@ endif()
# installation
# ------------
install
(
TARGETS chameleon_parsec
DESTINATION lib
)
DESTINATION lib
)
###
### END CMakeLists.txt
...
...
runtime/parsec/codelets/codelet_dataflush.c
View file @
13c9a60c
...
...
@@ -19,8 +19,8 @@
* @precisions normal z -> c d s
*
**/
#include "
runtime/parsec/include/morse_parsec
.h"
#include "chameleon_parsec.h"
#include "
chameleon/chameleon_tasks
.h"
void
MORSE_TASK_dataflush
(
const
MORSE_option_t
*
options
,
const
MORSE_desc_t
*
A
,
int
Am
,
int
An
)
...
...
runtime/parsec/codelets/codelet_zasum.c
View file @
13c9a60c
...
...
@@ -20,7 +20,8 @@
* @precisions normal z -> c d s
*
**/
#include "runtime/parsec/include/morse_parsec.h"
#include "chameleon_parsec.h"
#include "chameleon/morse_tasks_z.h"
static
int
CORE_dzasum_parsec
(
dague_execution_unit_t
*
context
,
...
...
runtime/parsec/codelets/codelet_zaxpy.c
View file @
13c9a60c
...
...
@@ -20,7 +20,8 @@
* @precisions normal z -> c d s
*
**/
#include "runtime/parsec/include/morse_parsec.h"
#include "chameleon_parsec.h"
#include "chameleon/morse_tasks_z.h"
static
int
CORE_zaxpy_parsec
(
dague_execution_unit_t
*
context
,
dague_execution_context_t
*
this_task
)
...
...
runtime/parsec/codelets/codelet_zbuild.c
View file @
13c9a60c
...
...
@@ -22,7 +22,8 @@
* @precisions normal z -> c d s
*
**/
#include "runtime/parsec/include/morse_parsec.h"
#include "chameleon_parsec.h"
#include "chameleon/morse_tasks_z.h"
static
inline
int
CORE_zbuild_parsec
(
dague_execution_unit_t
*
context
,
...
...
runtime/parsec/codelets/codelet_zgeadd.c
View file @
13c9a60c
...
...
@@ -25,7 +25,8 @@
* @precisions normal z -> c d s
*
**/
#include "runtime/parsec/include/morse_parsec.h"
#include "chameleon_parsec.h"
#include "chameleon/morse_tasks_z.h"
static
int
CORE_zgeadd_parsec
(
dague_execution_unit_t
*
context
,
dague_execution_context_t
*
this_task
)
...
...
runtime/parsec/codelets/codelet_zgelqt.c
View file @
13c9a60c
...
...
@@ -20,7 +20,8 @@
* @precisions normal z -> c d s
*
**/
#include "runtime/parsec/include/morse_parsec.h"
#include "chameleon_parsec.h"
#include "chameleon/morse_tasks_z.h"
/***************************************************************************//**
*
...
...
runtime/parsec/codelets/codelet_zgemm.c
View file @
13c9a60c
...
...
@@ -20,7 +20,8 @@
* @precisions normal z -> c d s
*
**/
#include "runtime/parsec/include/morse_parsec.h"
#include "chameleon_parsec.h"
#include "chameleon/morse_tasks_z.h"
/***************************************************************************//**
*
...
...
runtime/parsec/codelets/codelet_zgeqrt.c
View file @
13c9a60c
...
...
@@ -20,7 +20,8 @@
* @precisions normal z -> c d s
*
**/
#include "runtime/parsec/include/morse_parsec.h"
#include "chameleon_parsec.h"
#include "chameleon/morse_tasks_z.h"
/***************************************************************************//**
*
...
...
runtime/parsec/codelets/codelet_zgessm.c
View file @
13c9a60c
...
...
@@ -20,7 +20,8 @@
* @precisions normal z -> c d s
*
**/
#include "runtime/parsec/include/morse_parsec.h"
#include "chameleon_parsec.h"
#include "chameleon/morse_tasks_z.h"
/***************************************************************************//**
*
...
...
runtime/parsec/codelets/codelet_zgessq.c
View file @
13c9a60c
...
...
@@ -20,7 +20,8 @@
* @precisions normal z -> c d s
*
**/
#include "runtime/parsec/include/morse_parsec.h"
#include "chameleon_parsec.h"
#include "chameleon/morse_tasks_z.h"
static
int
CORE_zgessq_parsec
(
dague_execution_unit_t
*
context
,
dague_execution_context_t
*
this_task
)
...
...
runtime/parsec/codelets/codelet_zgetrf.c
View file @
13c9a60c
...
...
@@ -20,7 +20,8 @@
* @precisions normal z -> c d s
*
**/
#include "runtime/parsec/include/morse_parsec.h"
#include "chameleon_parsec.h"
#include "chameleon/morse_tasks_z.h"
static
int
CORE_zgetrf_parsec
(
dague_execution_unit_t
*
context
,
dague_execution_context_t
*
this_task
)
...
...
runtime/parsec/codelets/codelet_zgetrf_incpiv.c
View file @
13c9a60c
...
...
@@ -20,7 +20,8 @@
* @precisions normal z -> c d s
*
**/
#include "runtime/parsec/include/morse_parsec.h"
#include "chameleon_parsec.h"
#include "chameleon/morse_tasks_z.h"
/***************************************************************************//**
*
...
...
runtime/parsec/codelets/codelet_zgetrf_nopiv.c
View file @
13c9a60c
...
...
@@ -20,7 +20,8 @@
* @precisions normal z -> c d s
*
**/
#include "runtime/parsec/include/morse_parsec.h"
#include "chameleon_parsec.h"
#include "chameleon/morse_tasks_z.h"
/***************************************************************************//**
*
...
...
runtime/parsec/codelets/codelet_zhe2ge.c
View file @
13c9a60c
...
...
@@ -20,7 +20,8 @@
*
**/
#include "runtime/parsec/include/morse_parsec.h"
#include "chameleon_parsec.h"
#include "chameleon/morse_tasks_z.h"
/**
*
...
...
runtime/parsec/codelets/codelet_zhemm.c
View file @
13c9a60c
...
...
@@ -20,7 +20,8 @@
* @precisions normal z -> c
*
**/
#include "runtime/parsec/include/morse_parsec.h"
#include "chameleon_parsec.h"
#include "chameleon/morse_tasks_z.h"
/***************************************************************************//**
*
...
...
runtime/parsec/codelets/codelet_zher2k.c
View file @
13c9a60c
...
...
@@ -20,7 +20,8 @@
* @precisions normal z -> c
*
**/
#include "runtime/parsec/include/morse_parsec.h"
#include "chameleon_parsec.h"
#include "chameleon/morse_tasks_z.h"
/***************************************************************************//**
*
...
...
runtime/parsec/codelets/codelet_zherfb.c
View file @
13c9a60c
...
...
@@ -22,7 +22,8 @@
* @precisions normal z -> c d s
*
**/
#include "runtime/parsec/include/morse_parsec.h"
#include "chameleon_parsec.h"
#include "chameleon/morse_tasks_z.h"
static
inline
int
CORE_zherfb_parsec
(
dague_execution_unit_t
*
context
,
...
...
runtime/parsec/codelets/codelet_zherk.c
View file @
13c9a60c
...
...
@@ -20,7 +20,8 @@
* @precisions normal z -> c
*
**/
#include "runtime/parsec/include/morse_parsec.h"
#include "chameleon_parsec.h"
#include "chameleon/morse_tasks_z.h"
/***************************************************************************//**
*
...
...
runtime/parsec/codelets/codelet_zhessq.c
View file @
13c9a60c
...
...
@@ -20,7 +20,8 @@
* @precisions normal z -> c
*
**/
#include "runtime/parsec/include/morse_parsec.h"
#include "chameleon_parsec.h"
#include "chameleon/morse_tasks_z.h"
static
int
CORE_zhessq_parsec
(
dague_execution_unit_t
*
context
,
dague_execution_context_t
*
this_task
)
...
...
Prev
1
2
3
4
Next
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