summaryrefslogtreecommitdiff
path: root/src/cuda-sim
diff options
context:
space:
mode:
authorAndrew M. B. Boktor <[email protected]>2013-10-01 12:04:29 -0800
committerAndrew Boktor <[email protected]>2014-08-14 13:50:59 -0700
commit62e9f666a8c69e9820096860cf3e1d64a709baea (patch)
tree3ef02e526b8c74657aaaa811f0e4f5b56e20e710 /src/cuda-sim
parent3f232f6b1c9a2c9294b6a23f1d12958ebef7491a (diff)
Fixing jenkins failure
[git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 17048]
Diffstat (limited to 'src/cuda-sim')
-rw-r--r--src/cuda-sim/ptx_parser.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cuda-sim/ptx_parser.cc b/src/cuda-sim/ptx_parser.cc
index 5a3cb40..824714a 100644
--- a/src/cuda-sim/ptx_parser.cc
+++ b/src/cuda-sim/ptx_parser.cc
@@ -330,7 +330,7 @@ unsigned g_const_alloc = 1;
* @param maximum alignment in bytes. i.e. if size is too big then align to this instead
*/
int pad_address (new_addr_type address, unsigned size, unsigned maxalign) {
- assert(size > 0);
+ assert(size >= 0);
assert(maxalign > 0);
int alignto = maxalign;
if (size < maxalign &&