diff options
| author | Dongdong Li <[email protected]> | 2013-11-22 15:38:36 -0800 |
|---|---|---|
| committer | Andrew Boktor <[email protected]> | 2014-08-14 13:50:59 -0700 |
| commit | ef8a5521e440baa2f86d468cdc9078f54ec7c0c0 (patch) | |
| tree | c1627660cc01983067eb5d9b09fb82b4e06d9983 /src/intersim/random_utils.cpp | |
| parent | bdc0e550448f04c7c8f030b7421209bae37e651d (diff) | |
Delete Intersim
Code Review Issue: 113001
[git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 17414]
Diffstat (limited to 'src/intersim/random_utils.cpp')
| -rw-r--r-- | src/intersim/random_utils.cpp | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/src/intersim/random_utils.cpp b/src/intersim/random_utils.cpp deleted file mode 100644 index 94a0ad5..0000000 --- a/src/intersim/random_utils.cpp +++ /dev/null @@ -1,25 +0,0 @@ -#include "booksim.hpp"
-#include "random_utils.hpp"
-
-void RandomSeed( long seed )
-{
- ran_start( seed );
- ranf_start( seed );
-}
-
-int RandomInt( int max )
-// Returns a random integer in the range [0,max]
-{
- return( ran_next( ) % (max+1) );
-}
-
-unsigned long RandomIntLong( )
-{
- return ran_next( );
-}
-
-float RandomFloat( float max )
-// Returns a random floating-point value in the rage [0,max]
-{
- return( ranf_next( ) * max );
-}
|
