Skip to content

Commit dde1f58

Browse files
authored
Update README.md
1 parent a15f2c9 commit dde1f58

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

README.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,10 @@ __PGA-shape__ can be used as a C++/CUDA idiom or as a domain specific language (
2222
you could write the following grammar in __PGA-shape__ C++/CUDA:
2323

2424
struct Rules : T::List <
25-
/* rule[0]= */ Proc < Box, Subdivide<DynParam<0>, T::Pair< DynParam<1>, DCall<0>>, T::Pair< DynParam<2>, DCall<1>>, T::Pair< DynParam<3>, DCall<2>>>, 1>,
26-
/* rule[1]= */ Proc < Box, Discard, 1>,
27-
/* rule[2]= */ Proc < Box, IfSizeLess< DynParam<0>, DynParam<1>, DCall<0>, DCall<1>>, 1>,
28-
/* rule[3]= */ Proc < Box, Generate< false, 1 /*instanced triangle mesh*/,
29-
DynParam<0>>, 1>,
25+
/* SubXYZ */ Proc < Box, Subdivide<DynParam<0>, T::Pair< DynParam<1>, DCall<0>>, T::Pair< DynParam<2>, DCall<1>>, T::Pair< DynParam<3>, DCall<2>>>, 1>,
26+
/* Discard */ Proc < Box, Discard, 1>,
27+
/* A */ Proc < Box, IfSizeLess< DynParam<0>, DynParam<1>, DCall<0>, DCall<1>>, 1>,
28+
/* B */ Proc < Box, Generate< false, 1 /*instanced triangle mesh*/, DynParam<0>>, 1>,
3029
> {};
3130

3231
or the equivalent grammar in the __PGA-shape__ DSL:

0 commit comments

Comments
 (0)