- 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...
Germany
Slovakia
Canada
Brazil
Singapore
Hungary
Philippines
Mexico
Thailand
Ukraine
Luxembourg
Estonia
Lithuania
Norway
Chile
United States
Great Britain
India
Spain
South Korea
Ecuador
Colombia
Taiwan
Switzerland
Indonesia
Cyprus
Denmark
Finland
Poland
Malta
Czechia
New Zealand
Austria
Turkey
France
Sweden
Italy
Egypt
Belgium
Portugal
Slovenia
Ireland
Romania
Greece
Argentina
Malaysia
South Africa
Netherlands
Bulgaria
Latvia
Australia
Japan
Russia