Changes

Jump to: navigation, search

GPU610/DPS915 CUDA PI

296 bytes added, 12:01, 4 November 2013
Assignment 1
// calculate pi
pi = 4.0 * (float)score/(float)points;
 
==== '''Program Execution Plan''' ====
Pi serial tests would be conducted with sample counts up to 1 billion. Between 100 million and 1 billion, a sample count of 134217728 is sampled as that is the maximum sample value allowed for the Nvidia 460 GTX without generating memory allocation errors.
==== '''Compilation and Running''' ====
==== '''Conclusion''' ====
As the sample count increases, the execution time of the program also increases. The Big-O Classification for ''pi_serial'' is O(1).
 
=== '''Assignment 2''' ===

Navigation menu