Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
ScalFMM
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
5
Issues
5
List
Boards
Labels
Milestones
Packages
Packages
Container Registry
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
solverstack
ScalFMM
Commits
a21f909c
Commit
a21f909c
authored
Mar 03, 2015
by
BRAMAS Berenger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update cuda compilation
parent
9885aac6
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
CMakeLists.txt
CMakeLists.txt
+2
-0
Src/CMakeLists.txt
Src/CMakeLists.txt
+1
-1
No files found.
CMakeLists.txt
View file @
a21f909c
...
...
@@ -410,6 +410,8 @@ if (MORSE_DISTRIB_DIR OR EXISTS "${CMAKE_SOURCE_DIR}/CMakeModules/morse/")
if
(
CUDA_LIBRARIES
)
set
(
SCALFMM_LIBRARIES
"
${
SCALFMM_LIBRARIES
}
;
${
CUDA_LIBRARIES
}
"
)
endif
()
set
(
CUDA_NEEDED_INCLUDE_DIRS
${
CMAKE_BINARY_DIR
}
/Src
)
endif
()
# Find StarPU with a list of optional components
...
...
Src/CMakeLists.txt
View file @
a21f909c
...
...
@@ -32,7 +32,7 @@ if(ScalFMM_USE_CUDA)
ADD_CUSTOM_COMMAND
(
OUTPUT
${
_filehpp_output
}
DEPENDS
${
_file
}
COMMAND echo ARGS Compiling
${
_filewe
}
COMMAND nvcc ARGS -c
${
_file
}
-o
${
_filehpp_output
}
${
CUSTOM_CUDA_FLAGS
}
)
COMMAND nvcc ARGS -
I
${
CUDA_NEEDED_INCLUDE_DIRS
}
-
c
${
_file
}
-o
${
_filehpp_output
}
${
CUSTOM_CUDA_FLAGS
}
)
LIST
(
APPEND SCALFMM_CUDA_SOURCES
${
_filehpp_output
}
)
ENDFOREACH
()
...
...
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