Skip to content

Commit

Permalink
temporary increase of pretty print stack - #368
Browse files Browse the repository at this point in the history
this should be handled correctly after the C/CUDA readback on Rust is
implemented, as that'll allow just using Rust's stringifier instead
  • Loading branch information
VictorTaelin committed Jun 4, 2024
1 parent 66d118a commit b338dbd
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "hvm"
description = "A massively parallel, optimal functional runtime in Rust."
license = "Apache-2.0"
version = "2.0.18"
version = "2.0.19"
edition = "2021"
rust-version = "1.74"
build = "build.rs"
Expand Down
2 changes: 1 addition & 1 deletion src/hvm.c
Original file line number Diff line number Diff line change
Expand Up @@ -2065,7 +2065,7 @@ void pretty_print_numb(Numb word) {
}

void pretty_print_port(Net* net, Book* book, Port port) {
Port stack[256];
Port stack[4096];
stack[0] = port;
u32 len = 1;
u32 num = 0;
Expand Down
2 changes: 1 addition & 1 deletion src/hvm.cu
Original file line number Diff line number Diff line change
Expand Up @@ -2545,7 +2545,7 @@ __device__ void pretty_print_numb(Numb word) {
}

__device__ void pretty_print_port(Net* net, Port port) {
Port stack[256];
Port stack[4096];
stack[0] = port;
u32 len = 1;
while (len > 0) {
Expand Down

0 comments on commit b338dbd

Please sign in to comment.