Skip to content

Add seed getter/setter to C API and implement reproducibility tests#8

Merged
yohanchatelain merged 2 commits into
verificarlo:mainfrom
yohanchatelain:main
May 29, 2026
Merged

Add seed getter/setter to C API and implement reproducibility tests#8
yohanchatelain merged 2 commits into
verificarlo:mainfrom
yohanchatelain:main

Conversation

@yohanchatelain

Copy link
Copy Markdown
Collaborator

No description provided.

yohanchatelain and others added 2 commits May 29, 2026 17:37
Expose interflop_prism_get_seed/set_seed in prism_api.h and prism_api.cpp.
Fix xoshiro.h seed helpers to use inline external linkage so state is shared
across translation units. Add scalar and vector reproducibility tests verifying
that the same (seed, thread_number) pair always produces the same RNG sequence.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@yohanchatelain yohanchatelain merged commit 49fae27 into verificarlo:main May 29, 2026
4 of 5 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.

1 participant