- Try rewriting the Monte Carlo integration examples (in the __main__ function in monte_carlo_integrator.py) to use the CUDA instrinsic functions. How does the accuracy compare to before?
- We only used the uniform distribution in all of our cuRAND examples. Can you name one possible use or application of using the normal (Gaussian) random distribution in GPU programming?
- Suppose that we use two different seeds to generate a list of 100 pseudo-random numbers. Should we ever concatenate these into a list of 200 numbers?
- In the last example, try adding __host__ before __device__ in the definition of our operator() function in the multiply_functor struct. Now, see if you can directly implement a host-side dot-product function using this functor without any further modifications.
- Take a look at the strided_range.cu file in the Thrust examples directory. Can you think of how...
United States
Great Britain
India
Germany
France
Canada
Russia
Spain
Brazil
Australia
Singapore
Hungary
Philippines
Mexico
Thailand
Ukraine
Luxembourg
Estonia
Lithuania
Norway
Chile
South Korea
Ecuador
Colombia
Taiwan
Switzerland
Indonesia
Cyprus
Denmark
Finland
Poland
Malta
Czechia
New Zealand
Austria
Turkey
Sweden
Italy
Egypt
Belgium
Portugal
Slovenia
Ireland
Romania
Greece
Argentina
Malaysia
South Africa
Netherlands
Bulgaria
Latvia
Japan
Slovakia