summaryrefslogtreecommitdiff
path: root/src/cuda-sim
diff options
context:
space:
mode:
authorWilson Fung <[email protected]>2012-11-09 19:30:25 -0800
committerAndrew Boktor <[email protected]>2014-08-14 13:49:21 -0700
commit117dfa890501388dec301f461f0cca2562d6a941 (patch)
tree589e59defd0d5f152f7b7733875b2b574ea26e8d /src/cuda-sim
parent64ecf6992b5e0400877c2d1b479dddcadac6db69 (diff)
Fixed a bug introduced in CL14565 for PTXPlus.
[git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 14566]
Diffstat (limited to 'src/cuda-sim')
-rw-r--r--src/cuda-sim/cuda-sim.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cuda-sim/cuda-sim.cc b/src/cuda-sim/cuda-sim.cc
index 03508f3..8e01fe7 100644
--- a/src/cuda-sim/cuda-sim.cc
+++ b/src/cuda-sim/cuda-sim.cc
@@ -962,7 +962,7 @@ void function_info::param_to_shared( memory_space *shared_mem, symbol_table *sym
{
// TODO: call this only for PTXPlus with GT200 models
extern gpgpu_sim* g_the_gpu;
- if (g_the_gpu->get_config().convert_to_ptxplus()) return;
+ if (not g_the_gpu->get_config().convert_to_ptxplus()) return;
// copies parameters into simulated shared memory
for( std::map<unsigned,param_info>::iterator i=m_ptx_kernel_param_info.begin(); i!=m_ptx_kernel_param_info.end(); i++ ) {