Skip to content

Conversation

@csegarragonz
Copy link
Contributor

@csegarragonzcsegarragonz commented May 31, 2023

See faasm/faasm#758

In addition, given that we are updating libfaasm (requiring a new tag), I also include another change in the signature of random number generation.

Apparently, WAMR doesn't like the random devices in randomFloat to be static. I haven't looked too much into it, but I've seen different behaviour for static variables in WASM files for WAVM and WAMR. This change fixes the issue, but makes batch generation of random numbers considerably slower. If this ever becomes the bottleneck, we can address it separately.

@csegarragonzcsegarragonz marked this pull request as ready for review May 31, 2023 09:41
@csegarragonzcsegarragonz changed the title Fix randomFloat behaviour for WAMRMake outputData a std::stringMay 31, 2023
@csegarragonzcsegarragonz mentioned this pull request Jun 1, 2023
45 tasks
@csegarragonzcsegarragonz merged commit dbf2541 into mainJun 1, 2023
@csegarragonzcsegarragonz deleted the fix-float branch June 1, 2023 11:12
Sign up for freeto 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

@csegarragonz