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
54816087
Commit
54816087
authored
Sep 17, 2015
by
PRUVOST Florent
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add eztrace chameleon_cuda module - not checked yet
parent
ca3d1e6f
Changes
2
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1312 additions
and
0 deletions
+1312
-0
cudablas/eztrace_module/CMakeLists.txt
cudablas/eztrace_module/CMakeLists.txt
+78
-0
cudablas/eztrace_module/cudablas_eztrace_module
cudablas/eztrace_module/cudablas_eztrace_module
+1234
-0
No files found.
cudablas/eztrace_module/CMakeLists.txt
0 → 100644
View file @
54816087
###
#
# @copyright (c) 2009-2014 The University of Tennessee and The University
# of Tennessee Research Foundation.
# All rights reserved.
# @copyright (c) 2012-2015 Inria. All rights reserved.
# @copyright (c) 2012-2014 Bordeaux INP, CNRS (LaBRI UMR 5800), Inria, Univ. Bordeaux. All rights reserved.
#
###
#
# @file CMakeLists.txt
#
# @project MORSE
# MORSE is a software package provided by:
# Inria Bordeaux - Sud-Ouest,
# Univ. of Tennessee,
# King Abdullah Univesity of Science and Technology
# Univ. of California Berkeley,
# Univ. of Colorado Denver.
#
# @version 0.9.0
# @author Florent Pruvost
# @date 16-09-2015
#
###
if
(
NOT EZTRACE_FOUND
)
find_package
(
EZTRACE
)
endif
()
if
(
EZTRACE_FOUND AND EZTRACE_DIR_FOUND
)
set
(
EZTRACE_eztrace_create_plugin_DIR
"EZTRACE_eztrace_create_plugin_DIR-NOTFOUND"
)
find_path
(
EZTRACE_eztrace_create_plugin_DIR
NAMES eztrace_create_plugin
HINTS
${
EZTRACE_DIR_FOUND
}
/bin
)
if
(
EZTRACE_eztrace_create_plugin_DIR
)
set
(
EZTRACE_CREATE_PLUGIN
"
${
EZTRACE_eztrace_create_plugin_DIR
}
/eztrace_create_plugin"
)
add_custom_command
(
OUTPUT
${
CMAKE_CURRENT_BINARY_DIR
}
/output
COMMAND
${
EZTRACE_CREATE_PLUGIN
}
ARGS
${
CMAKE_CURRENT_SOURCE_DIR
}
/cudablas_eztrace_module
DEPENDS
${
CMAKE_CURRENT_SOURCE_DIR
}
/cudablas_eztrace_module
)
add_custom_target
(
eztrace-module-chameleon_cuda-dir ALL
DEPENDS
${
CMAKE_CURRENT_BINARY_DIR
}
/output
)
add_custom_command
(
OUTPUT libeztrace-convert-chameleon_cuda.so
COMMAND make
WORKING_DIRECTORY
${
CMAKE_CURRENT_BINARY_DIR
}
/output
DEPENDS
${
CMAKE_CURRENT_BINARY_DIR
}
/output
)
add_custom_target
(
eztrace-module-chameleon_cuda-libs ALL
DEPENDS libeztrace-convert-chameleon_cuda.so
)
# installation
# ------------
install
(
FILES
${
CMAKE_CURRENT_BINARY_DIR
}
/output/libeztrace-autostart-chameleon_cuda.so
${
CMAKE_CURRENT_BINARY_DIR
}
/output/libeztrace-chameleon_cuda.so
${
CMAKE_CURRENT_BINARY_DIR
}
/output/libeztrace-convert-chameleon_cuda.so
DESTINATION
${
EZTRACE_LIBRARY_DIRS
}
)
endif
(
EZTRACE_eztrace_create_plugin_DIR
)
endif
(
EZTRACE_FOUND AND EZTRACE_DIR_FOUND
)
###
### END CMakeLists.txt
###
cudablas/eztrace_module/cudablas_eztrace_module
0 → 100644
View file @
54816087
This diff is collapsed.
Click to expand it.
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