aboutsummaryrefslogtreecommitdiff
path: root/src/cuda-sim/ptx_ir.h
diff options
context:
space:
mode:
authorAmruth <[email protected]>2018-04-16 15:33:19 +0000
committerTor Aamodt <[email protected]>2018-04-16 15:33:19 +0000
commit69443e6e7e4ad42d987d04e34fb8a50ae81ecf81 (patch)
treedcaabbdc35438e982bf9fe125c31216615998fd0 /src/cuda-sim/ptx_ir.h
parent37b9b2b393a13d5882ffe42afdc905e87449f9ac (diff)
parent2371b950f6d7ac99ef9841bd8e84c15b3ba437e3 (diff)
Merged in amruth_s/apr14 (pull request #4)
code working fine on all CDP benchmarks
Diffstat (limited to 'src/cuda-sim/ptx_ir.h')
-rw-r--r--src/cuda-sim/ptx_ir.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cuda-sim/ptx_ir.h b/src/cuda-sim/ptx_ir.h
index 85b2a3b..6731763 100644
--- a/src/cuda-sim/ptx_ir.h
+++ b/src/cuda-sim/ptx_ir.h
@@ -91,6 +91,7 @@ public:
bool is_tex() const { return m_space_spec == tex_space;}
bool is_func_addr() const { return m_is_function?true:false; }
int scalar_type() const { return m_scalar_type_spec;}
+ int get_alignment_spec() const { return m_alignment_spec;}
unsigned type_decode( size_t &size, int &t ) const;
static unsigned type_decode( int type, size_t &size, int &t );
memory_space_t get_memory_space() const { return m_space_spec; }