Skip to content

chore(test): add GpuChipTestBuilder::new_persistent#2191

Merged
jonathanpwang merged 2 commits into
openvm-org:mainfrom
DeVikingMark:feat/gpu-test-builder-env-config
Dec 7, 2025
Merged

chore(test): add GpuChipTestBuilder::new_persistent#2191
jonathanpwang merged 2 commits into
openvm-org:mainfrom
DeVikingMark:feat/gpu-test-builder-env-config

Conversation

@DeVikingMark

Copy link
Copy Markdown
Contributor

Add OPENVM_GPU_TEST_PERSISTENT env var support to GpuChipTestBuilder::new().

Defaults to volatile memory for backward compatibility. Set to 1 to enable persistent mode.

@jonathanpwang

Copy link
Copy Markdown
Contributor

Not sure why we want this? It doesn't simplify any code

@DeVikingMark

Copy link
Copy Markdown
Contributor Author

Fair point. After thinking it through, for a while I've refactored to add new_persistent() method instead, matching the default_persistent() pattern in VmChipTestBuilder. This is more explicit and better I suppose.

@jonathanpwang jonathanpwang changed the title feat: add environment variable configuration for GpuChipTestBuilder::new() chore(test): add GpuChipTestBuilder::new_persistent Nov 13, 2025
@DeVikingMark

Copy link
Copy Markdown
Contributor Author

Hi @jonathanpwang ! Should I fix CI's?

@jonathanpwang jonathanpwang merged commit 02d5a13 into openvm-org:main Dec 7, 2025
43 of 48 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants