diff options
| author | tgrogers <[email protected]> | 2018-11-20 15:34:03 -0500 |
|---|---|---|
| committer | tgrogers <[email protected]> | 2018-11-29 10:53:10 -0500 |
| commit | dbc5076945d08959c0106ff580f42adf3f86d7d9 (patch) | |
| tree | 19c90e3e3bd8348053d8b3a15bcd6faf5966589d /src/cuda-sim/cuda-sim.cc | |
| parent | e1e6e550403fb8a6d9a6ee1a8306d146946a6a50 (diff) | |
Fixing the compile in gcc 4.4.x
Diffstat (limited to 'src/cuda-sim/cuda-sim.cc')
| -rw-r--r-- | src/cuda-sim/cuda-sim.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cuda-sim/cuda-sim.cc b/src/cuda-sim/cuda-sim.cc index 3773f6f..ec68b5b 100644 --- a/src/cuda-sim/cuda-sim.cc +++ b/src/cuda-sim/cuda-sim.cc @@ -1308,7 +1308,7 @@ void function_info::list_param( FILE *fout ) const void function_info::ptx_jit_config(std::map<unsigned long long, size_t> mallocPtr_Size, memory_space *param_mem, gpgpu_t* gpu, dim3 gridDim, dim3 blockDim) { - static unsigned long counter = 0; + static unsigned long long counter = 0; std::vector< std::pair<size_t, unsigned char*> > param_data; std::vector<unsigned> offsets; std::vector<bool> paramIsPointer; |
