Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

πŸ› [BUG] - Serial Initialization of Buffers #216

Open
radelja opened this issue Sep 23, 2024 · 0 comments
Open

πŸ› [BUG] - Serial Initialization of Buffers #216

radelja opened this issue Sep 23, 2024 · 0 comments
Labels
bug Something isn't working enhancement New feature or request

Comments

@radelja
Copy link
Contributor

radelja commented Sep 23, 2024

πŸ’Ώ OS

Ubuntu 22

πŸ—οΈ Architecture

x86_64

πŸ“ Description

Spatter v1.1 initializes the source and target buffers with random data in parallel. However, v2 uses the rand() function, which is not thread-safe. To initialize the buffers in parallel for v2, a thread-safe alternative needs to be used, such as the rand_r() function.

πŸ”„ Reproduction steps

This affects all backends.

πŸ’¬ Logs

No response

@radelja radelja added the bug Something isn't working label Sep 23, 2024
@radelja radelja added the enhancement New feature or request label Oct 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant