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

[Question]Why don't you use curand? #206

Closed
wangzilu opened this issue Aug 1, 2023 · 2 comments
Closed

[Question]Why don't you use curand? #206

wangzilu opened this issue Aug 1, 2023 · 2 comments

Comments

@wangzilu
Copy link

wangzilu commented Aug 1, 2023

I would like to ask why owl don't use curand to generate random number? your own random number generator will more efficient than curand? thank you!

@ingowald
Copy link
Contributor

ingowald commented Aug 1, 2023

No particular reason. IIRC when I wrote the first sample with random number I "stole" the random number generator from a corresponding OptiX 6 sample - and since that worked great it's simply been re-used and re-copied ever since. If curand is better, and you want to change (some of?) the samples to use that, then feel free to send a PR.

@wangzilu
Copy link
Author

wangzilu commented Aug 2, 2023

thanks a lot,I will try that.

@wangzilu wangzilu closed this as completed Aug 2, 2023
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

No branches or pull requests

2 participants