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

About python trtc.Functor #26

Open
zsy0828 opened this issue Aug 25, 2022 · 3 comments
Open

About python trtc.Functor #26

zsy0828 opened this issue Aug 25, 2022 · 3 comments

Comments

@zsy0828
Copy link

zsy0828 commented Aug 25, 2022

hello,
I'm a new in learning thrust, and i'm really interesting about yout project, but I have some questions about trtc.Functor.

I wonder can class trtc.Functor support curand_init() or rand() to generate a random number.

i'd really appreciate if you reply me.
thank you very much!

@slayoo
Copy link
Contributor

slayoo commented Aug 25, 2022

Please check out ThrustRTC's sister project CURandRTC: https://github.com/fynv/CURandRTC/

@zsy0828
Copy link
Author

zsy0828 commented Aug 26, 2022

Please check out ThrustRTC's sister project CURandRTC: https://github.com/fynv/CURandRTC/
Thank you very much !

@fynv
Copy link
Owner

fynv commented Aug 27, 2022

Yes, CURandRTC provides a device-side implementation of XORWOW algorithm.
That basically copies some code from curand_kernel.h

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

3 participants