How can I use CURAND_RNG_QUASI_SOBOL32 generator using device API? CUDA

artur me

A snippet of my task is to generate, let's say, 256 quasi-random numbers using CUDA. I've read cuRAND docs and from there I've learnt that I need to use a set of direction vectors, which I can get using curandGetDirectionVectors32 function. But the problem is that I still can not understand what is 'set of direction vectors'. Especially how to use it, how to limit its length etc.

Also there's no example in Device API Examples with Sobol's generator. And there's no working example in google. I've found some explanation but scrambled_sobol_v_host is not declared in that scope and unclear for me.

So, my question is could anyone, please, provide me with tiny working example of usage of this generator?

And I have troubles with understanding difference between Sobol's generator and scrambled Sobol's generator.

Thank you in advance.

Christian Sarofeen

Direction vectors are the seeding method for that number generator. For implementation you should be able to follow using QuasirandomGenerator (for dummies)

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

Can I use vector for both device and host class in CUDA

From Dev

App Generator: How can I declare a variable for use in the entire generator?

From Dev

How can I get number of Cores in cuda device?

From Dev

How can I pass a C++ array of structs to a CUDA device?

From Dev

how can i use cuda with nodejs

From Dev

How can I use CUDA without the monitor?

From Dev

How can i use draggable on device

From Dev

How can I use Peak PCAN-USB device to save a CAN trace using kernel 4.4 modules?

From Dev

Can I compile a cuda program without having a cuda device

From Dev

How can I use this API?

From Dev

How can I force use generator on Coffeescript 1.9?

From Dev

How can I force use generator on Coffeescript 1.9?

From Dev

How can I use a passcode generator for authentication for remote logins?

From Dev

How to run cuda-gdb in windows? Can I use cygwin for it?

From Dev

Can an Android device be damaged if I use it to deploy apps on it using Xamarin?

From Dev

How can I tell if cuda code is being compiled with relocatable device code?

From Dev

How can I tell if cuda code is being compiled with relocatable device code?

From Dev

How can I use device gestures in Oracle MAF application?

From Dev

How can I use my Garmin device in Ubuntu?

From Dev

How can I use my Garmin device in Ubuntu?

From Dev

Pytorch not using cuda device

From Dev

How can I detect the system language of an iOS device using JavaScript?

From Dev

How can I simulate the back button on a samsung device using chrome?

From Dev

How can I derive block device information using the output of lsusb

From Dev

How can I get a file version using a device driver?

From Dev

What Can I use to draw with cuda

From Dev

How can I use the Broadleaf REST API?

From Dev

How can I use limit() in RESTHeart API?

From Dev

How can I use limit() in RESTHeart API?

Related Related

  1. 1

    Can I use vector for both device and host class in CUDA

  2. 2

    App Generator: How can I declare a variable for use in the entire generator?

  3. 3

    How can I get number of Cores in cuda device?

  4. 4

    How can I pass a C++ array of structs to a CUDA device?

  5. 5

    how can i use cuda with nodejs

  6. 6

    How can I use CUDA without the monitor?

  7. 7

    How can i use draggable on device

  8. 8

    How can I use Peak PCAN-USB device to save a CAN trace using kernel 4.4 modules?

  9. 9

    Can I compile a cuda program without having a cuda device

  10. 10

    How can I use this API?

  11. 11

    How can I force use generator on Coffeescript 1.9?

  12. 12

    How can I force use generator on Coffeescript 1.9?

  13. 13

    How can I use a passcode generator for authentication for remote logins?

  14. 14

    How to run cuda-gdb in windows? Can I use cygwin for it?

  15. 15

    Can an Android device be damaged if I use it to deploy apps on it using Xamarin?

  16. 16

    How can I tell if cuda code is being compiled with relocatable device code?

  17. 17

    How can I tell if cuda code is being compiled with relocatable device code?

  18. 18

    How can I use device gestures in Oracle MAF application?

  19. 19

    How can I use my Garmin device in Ubuntu?

  20. 20

    How can I use my Garmin device in Ubuntu?

  21. 21

    Pytorch not using cuda device

  22. 22

    How can I detect the system language of an iOS device using JavaScript?

  23. 23

    How can I simulate the back button on a samsung device using chrome?

  24. 24

    How can I derive block device information using the output of lsusb

  25. 25

    How can I get a file version using a device driver?

  26. 26

    What Can I use to draw with cuda

  27. 27

    How can I use the Broadleaf REST API?

  28. 28

    How can I use limit() in RESTHeart API?

  29. 29

    How can I use limit() in RESTHeart API?

HotTag

Archive