summaryrefslogtreecommitdiff
path: root/src/cuda-sim/instructions.cc
diff options
context:
space:
mode:
authorJonathan <[email protected]>2018-06-21 17:35:07 -0700
committerJonathan <[email protected]>2018-06-21 17:35:07 -0700
commit76a124e9186b9574858238d423b9c5ce715f2c32 (patch)
tree0e1c3a82661f06baafbf9505b216ef94ab3cbc91 /src/cuda-sim/instructions.cc
parent37dc5311a75548b848a33a3b7369ce4bee64b444 (diff)
WIP adding support for PTX JIT and dumping params to cudaLaunches
Diffstat (limited to 'src/cuda-sim/instructions.cc')
-rw-r--r--src/cuda-sim/instructions.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cuda-sim/instructions.cc b/src/cuda-sim/instructions.cc
index c77e4da..034a7b9 100644
--- a/src/cuda-sim/instructions.cc
+++ b/src/cuda-sim/instructions.cc
@@ -2753,6 +2753,7 @@ void mov_impl( const ptx_instruction *pI, ptx_thread_info *thread )
const operand_info &dst = pI->dst();
const operand_info &src1 = pI->src1();
unsigned i_type = pI->get_type();
+ assert( src1.is_param_local() == 0 );
if( (src1.is_vector() || dst.is_vector()) && (i_type != BB64_TYPE) && (i_type != BB128_TYPE) && (i_type != FF64_TYPE) ) {
// pack or unpack operation