Skip to content

Commit

Permalink
simplify tuple example for CUDA
Browse files Browse the repository at this point in the history
  • Loading branch information
tjjfvi committed May 21, 2024
1 parent 7d930ac commit b414c03
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/tuples/tuples.hvm
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
& @app ~ (a (b (d e)))

@main = b
& @app ~ (5000000 (@rot (a b)))
& @app ~ (20 (@rot (a b)))
& @Tup8/New ~ (1 (2 (3 (4 (5 (6 (7 (8 a))))))))

@rot = ((@rot__C0 a) a)
Expand Down
2 changes: 1 addition & 1 deletion tests/snapshots/run__file@tuples__tuples.hvm.snap
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ source: tests/run.rs
expression: rust_output
input_file: examples/tuples/tuples.hvm
---
Result: ((1 (2 (3 (4 (5 (6 (7 (8 x0)))))))) x0)
Result: ((5 (6 (7 (8 (1 (2 (3 (4 x0)))))))) x0)

0 comments on commit b414c03

Please sign in to comment.