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

Add curand #2

Closed
coreylowman opened this issue Sep 17, 2022 · 2 comments
Closed

Add curand #2

coreylowman opened this issue Sep 17, 2022 · 2 comments

Comments

@coreylowman
Copy link
Owner

should probably use rand and rand_distributions, other option is just create/gen_x/destroy

@coreylowman
Copy link
Owner Author

The host api says it's not compatible with driver api. https://docs.nvidia.com/cuda/curand/host-api-overview.html#host-api-overview . This could be a good reason to swap. To test if it's compatible should first generate some random numbers using cudart, then generate them into a cuda device buffer, and see if they are the same (assuming seed is the same)

@coreylowman
Copy link
Owner Author

cuRAND does seem to work with driver api

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

1 participant