forked from sandialabs/omega_h
-
Notifications
You must be signed in to change notification settings - Fork 13
EDADSlite Cuda support #237
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
Angelyr
wants to merge
42
commits into
master
Choose a base branch
from
ac/egads-cuda
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
42 commits
Select commit
Hold shift + click to select a range
965f151
Merge remote-tracking branch 'scorec/cws/libmeshb' into cws/egadsLite…
cwsmith 02e0cd7
builds with egadslite and cuda and meshb
joshia5 1562a27
fix bugs for standalone compilation with lite
joshia5 ae3ac3c
working egads_lite_adapt_test from device
joshia5 272bd07
last egads changes
joshia5 9daf681
egadslite: fix test name
cwsmith c95c6be
egadslite: add input var
cwsmith 5acdf05
egadslite: using version without renamed header
cwsmith 405ae23
egadslite: fwd declare egads struct
cwsmith 563d580
egadslite: drop lite from names
cwsmith eadcd20
egadslite: use egadslite cmake config file
cwsmith 1e2f7e5
egadslite: separable compilation appears to be required
cwsmith 0ef432f
egadslite: links all exe except egads_lite_adapt_test
cwsmith 3aef4ac
egadslite: use tll
cwsmith 1e01733
egadslite: a few dirty hacks, links
cwsmith f68480c
egadslite: getTopo on device
cwsmith 7bc5d96
egadslite: store outputs from getTopo
cwsmith 5ffd58e
egadslite: white space, helper fns
cwsmith 7cb1f8e
egadslite: build vector of sets
cwsmith b02a5d6
egadslite: remove lambda index, copy dev ent ptrs to host
cwsmith 126da8b
egadslite: egads_lite_adapt_test executes without segfault
cwsmith d1b65a1
egadslite: fix pproc conditionals, remove rc api calls
cwsmith 9cf6bc0
egadslite: store dev ptrs, dies in EG_invEvaLimits
cwsmith 6d0e8f5
egadslite: wrap egads calls with return check
cwsmith b402d32
debug: write vtk, isolate face vertex
cwsmith a13b4df
debug: target a single known vertex
cwsmith 92f3b5c
egadslite: increase the cuda stack size
cwsmith fd730b7
egadslite: remove debug prints and vtx isolation
cwsmith fa55e2c
egadslite: finish the previous commit...
cwsmith 8dfdac6
debug: write pt data to csv
cwsmith 3090ede
egadslite: hack classification for wacky topology
cwsmith 12cacb9
fix compilation bug
joshia5 8930b23
compile changes
Angelyr 914d859
Merge branch 'master' into ac/egads-cuda
Angelyr 421a7ba
fixed compile errors
Angelyr 5b845c4
fixed runtime tests
Angelyr 4a76c1b
export egadslite
Angelyr d8bc406
export egadslite
Angelyr 0cec0fe
removed unnecessary
Angelyr 758aa4b
simplify build
Angelyr ec55331
removed duplicate code
Angelyr 195888e
reuse classification and cudastacksize
Angelyr File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -173,6 +173,10 @@ if(Omega_h_USE_ADIOS2) | |
| find_package(ADIOS2 REQUIRED) | ||
| endif() | ||
|
|
||
| if(Omega_h_USE_egadslite) | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Does this support both the CPU and CUDA versions? |
||
| list(APPEND Omega_h_SOURCES Omega_h_egads_lite.cpp) | ||
| endif() | ||
|
|
||
| if(Omega_h_USE_SEACASExodus) | ||
| list(APPEND Omega_h_SOURCES Omega_h_exodus.cpp) | ||
| endif() | ||
|
|
@@ -214,6 +218,8 @@ bob_link_dependency(omega_h PUBLIC libMeshb) | |
|
|
||
| bob_link_dependency(omega_h PUBLIC Gmsh) | ||
|
|
||
| bob_link_dependency(omega_h PUBLIC egadslite) | ||
|
|
||
| if(Omega_h_USE_EGADS) | ||
| target_include_directories(omega_h PUBLIC "${EGADS_INCLUDE_DIR}") | ||
| target_link_libraries(omega_h PUBLIC "${EGADS_LIBRARY}") | ||
|
|
@@ -644,6 +650,9 @@ if(BUILD_TESTING) | |
| if(Omega_h_USE_EGADS) | ||
| osh_add_exe(egads_test) | ||
| endif() | ||
| if(Omega_h_USE_egadslite) | ||
| osh_add_exe(egads_lite_adapt_test) | ||
| endif() | ||
| osh_add_exe(advect2d_test) | ||
| if(Omega_h_DATA) | ||
| list(APPEND TEST_EXES advect2d_test) | ||
|
|
@@ -770,6 +779,7 @@ set(Omega_h_HEADERS | |
| Omega_h_dist.hpp | ||
| Omega_h_eigen.hpp | ||
| Omega_h_egads.hpp | ||
| Omega_h_egads_lite.hpp | ||
| Omega_h_element.hpp | ||
| Omega_h_expr.hpp | ||
| Omega_h_fail.hpp | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should prefix our egadslite branch as 'scorec-v####' and check for that version here; I don't think any of the other branches/versions will work.