Skip to content

Commit 202d231

Browse files
committed
Refactor simplify field solve. Among the changes include.
1. Add an index node constant. This node allows access to the current kernel index. 2. Correct if node code generation and use ? : to allow the register to be const. 3. Refactor workflows and gpu contexts to add a memzero work item and fold the loop interation into the kernel itself. 4. Refactor backend buffers to inherit from std::vector directly. This eliminates a low of code. 5. Refactor copy and passed backend buffer code to use macro functions. 6. Add function to generate and organize graphs for PIC codes. 7. Add unit test for PIC field solver. This checkes the particle counts aganist a standard historgram. 8. Disable PIC driver to avoid compilation error since the API is in flux.
1 parent 05e9f92 commit 202d231

23 files changed

Lines changed: 1347 additions & 806 deletions

‎CMakeLists.txt‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -394,6 +394,7 @@ macro (add_test_target target lang)
394394
add_test (NAME ${target}
395395
COMMAND ${target}
396396
)
397+
397398

398399
if (${USE_PCH})
399400
if (${BUILD_C_BINDING})

‎graph_docs/use_cases.dox‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@
125125
* branch is absorbed in the upper hybrid resonance, @f$\omega_{h}@f$, while the
126126
* O-Mode branch can pass through it.
127127
*
128-
* @subsubsection use_cases_rf_correctness Comparison to GENRAY
128+
* @subsubsection use_cases_rf_correctness_genray Comparison to GENRAY
129129
* <a href="https://compxco.com/genray.html">Genray</a> is an RF-Ray tracing
130130
* code written in Fortran which operates in a cylindrical geometry. Toroidal
131131
* equilibria can be imported using the

‎graph_framework.xcodeproj/project.pbxproj‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1372,7 +1372,7 @@
13721372
isa = PBXProject;
13731373
attributes = {
13741374
BuildIndependentTargetsInParallel = YES;
1375-
LastUpgradeCheck = 2610;
1375+
LastUpgradeCheck = 2640;
13761376
ORGANIZATIONNAME = "Cianciosa, Mark R.";
13771377
TargetAttributes = {
13781378
C715C7932FD09E29003EEFF4 = {

‎graph_framework.xcodeproj/xcshareddata/xcschemes/arithmetic_test.xcscheme‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<Scheme
3-
LastUpgradeVersion = "2610"
3+
LastUpgradeVersion = "2640"
44
version = "1.7">
55
<BuildAction
66
parallelizeBuildables = "YES"

‎graph_framework.xcodeproj/xcshareddata/xcschemes/graph_driver.xcscheme‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<Scheme
3-
LastUpgradeVersion = "2610"
3+
LastUpgradeVersion = "2640"
44
version = "1.3">
55
<BuildAction
66
parallelizeBuildables = "YES"

‎graph_framework.xcodeproj/xcshareddata/xcschemes/graph_pic.xcscheme‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<Scheme
3-
LastUpgradeVersion = "2610"
3+
LastUpgradeVersion = "2640"
44
version = "1.7">
55
<BuildAction
66
parallelizeBuildables = "YES"

‎graph_framework.xcodeproj/xcshareddata/xcschemes/jit_test.xcscheme‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<Scheme
3-
LastUpgradeVersion = "2610"
3+
LastUpgradeVersion = "2640"
44
version = "1.3">
55
<BuildAction
66
parallelizeBuildables = "YES"

‎graph_framework.xcodeproj/xcshareddata/xcschemes/math_test.xcscheme‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<Scheme
3-
LastUpgradeVersion = "2610"
3+
LastUpgradeVersion = "2640"
44
version = "1.3">
55
<BuildAction
66
parallelizeBuildables = "YES"

‎graph_framework.xcodeproj/xcshareddata/xcschemes/physics_test.xcscheme‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<Scheme
3-
LastUpgradeVersion = "2610"
3+
LastUpgradeVersion = "2640"
44
version = "1.3">
55
<BuildAction
66
parallelizeBuildables = "YES"

0 commit comments

Comments
 (0)