Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
O
openfpm_pdata
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Environments
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
openfpm
openfpm_pdata
Commits
08187026
Commit
08187026
authored
Nov 23, 2020
by
incardon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adding complex geometry problem
parent
3d50542a
Pipeline
#2417
passed with stages
in 20 minutes and 3 seconds
Changes
3
Pipelines
1
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
575 additions
and
0 deletions
+575
-0
example/SparseGrid/1_gray_scott_3d_sparse_gpu_cs_opt/Makefile
...ple/SparseGrid/1_gray_scott_3d_sparse_gpu_cs_opt/Makefile
+39
-0
example/SparseGrid/1_gray_scott_3d_sparse_gpu_cs_opt/config.cfg
...e/SparseGrid/1_gray_scott_3d_sparse_gpu_cs_opt/config.cfg
+2
-0
example/SparseGrid/1_gray_scott_3d_sparse_gpu_cs_opt/main.cu
example/SparseGrid/1_gray_scott_3d_sparse_gpu_cs_opt/main.cu
+534
-0
No files found.
example/SparseGrid/1_gray_scott_3d_sparse_gpu_cs_opt/Makefile
0 → 100644
View file @
08187026
include
../../example.mk
### internally the example disable with the preprocessor its code if not compiled with nvcc
CUDA_CC
=
CUDA_CC_LINK
=
ifeq
(, $(shell which nvcc))
CUDA_CC
=
mpic++
-x
c++
$(INCLUDE_PATH)
INCLUDE_PATH_NVCC
=
CUDA_CC_LINK
=
mpic++
else
CUDA_CC
=
nvcc
-ccbin
=
mpic++
CUDA_CC_LINK
=
nvcc
-ccbin
=
mpic++
endif
gray_scott_sparse_gpu_test
:
OPT += -DTEST_RUN
gray_scott_sparse_gpu_test
:
gray_scott_sparse_gpu
CC
=
mpic++
LDIR
=
OBJ
=
main.o
%.o
:
%.cu
$(CUDA_CC)
$(OPT)
-O3
-g
-c
--std
=
c++14
-o
$@
$<
$(INCLUDE_PATH_NVCC)
gray_scott_sparse_gpu
:
$(OBJ)
$(CUDA_CC_LINK)
-o
$@
$^
$(LIBS_PATH)
$(LIBS)
all
:
gray_scott_sparse_gpu
run
:
gray_scott_sparse_gpu_test
mpirun
-np
4 ./gray_scott_sparse_gpu
.PHONY
:
clean all run
clean
:
rm
-f
*
.o
*
~ core gray_scott_sparse_gpu
example/SparseGrid/1_gray_scott_3d_sparse_gpu_cs_opt/config.cfg
0 → 100644
View file @
08187026
[pack]
files = main.cu Makefile
example/SparseGrid/1_gray_scott_3d_sparse_gpu_cs_opt/main.cu
0 → 100644
View file @
08187026
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