You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's essentially a toolkit offers an end-to-end solution to compile shape grammars as programs that efficiently run on CUDA enabled GPUs.
10
+
It's essentially a toolkit that offers an end-to-end solution to compile shape grammars as programs that efficiently run on CUDA enabled GPUs.
11
11
12
12
This toolkit consists of:
13
13
- a shape grammar interpreter,
14
14
- a C++/CUDA library and
15
-
-a GPU execution auto-tuner.
15
+
-an execution auto-tuner.
16
16
17
17
18
-
The implemented shape grammar - __PGA-shape__ - is a rule-based language that enable users to express sequences of modeling operations in a high level of abstraction.
18
+
The implemented shape grammar - __PGA-shape__ - is a rule-based language that enables users to express sequences of modeling operations in a high level of abstraction.
19
19
20
20
21
21
__PGA-shape__ can be used as a C++/CUDA idiom or as a domain specific language (DSL). For example, to model a [Menger sponge](https://en.wikipedia.org/wiki/Menger_sponge),
@@ -29,7 +29,7 @@ you could write the following grammar in __PGA-shape__ C++/CUDA:
29
29
DynParam<0>>, 1>,
30
30
> {};
31
31
32
-
or the equivalent grammar in __PGA-shape__ DSL:
32
+
or the equivalent grammar in the __PGA-shape__ DSL:
33
33
34
34
axiom Box A;
35
35
@@ -42,17 +42,13 @@ or the equivalent grammar in __PGA-shape__ DSL:
Grammars written with the C++/CUDA variant can be embedded in OpenGL/Direct3D applications,
50
-
while grammars written with the DSL can be executed on the GPU with the interpreter shipped with the toolkit.
51
-
The interpreter can also be embedded in an OpenGL/Direct3D application.
52
-
53
-
54
-
The main difference between the two methods is that with C++/CUDA the structure of the grammars directly influence the GPU scheduling,
55
-
while with the DSL the execution on the GPU is scheduled the same way, independently of the grammar structure.
49
+
Grammars written in the C++/CUDA idiom can be linked to OpenGL/Direct3D applications,
50
+
while grammars written in the DSL can be embedded with the interpreter.
51
+
The difference between the two methods is that with C++/CUDA the structure of the grammars directly influences the GPU scheduling, while with the DSL the execution on the GPU is always scheduled the same way, independently of the grammar structure.
56
52
57
53
58
54
Grammars written with __PGA-shape__ DSL can be analyzed by the auto-tunner and be optimized for GPU execution.
0 commit comments