diff options
| author | Jin Wang <[email protected]> | 2014-11-14 20:01:10 -0500 |
|---|---|---|
| committer | Jin Wang <[email protected]> | 2016-07-06 02:17:15 -0400 |
| commit | bbcb492c0f6d887c4034bd15adf57420dd735c5e (patch) | |
| tree | 7fb1ea922b6aa290a439526240feeeaef26c3739 /src/cuda-sim/ptx_ir.cc | |
| parent | 8ef2e4eb13093c59190439800fdd0cc552a3779e (diff) | |
ADD: add separate cdp latency
Diffstat (limited to 'src/cuda-sim/ptx_ir.cc')
| -rw-r--r-- | src/cuda-sim/ptx_ir.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/cuda-sim/ptx_ir.cc b/src/cuda-sim/ptx_ir.cc index 4931213..783c885 100644 --- a/src/cuda-sim/ptx_ir.cc +++ b/src/cuda-sim/ptx_ir.cc @@ -1241,12 +1241,12 @@ ptx_instruction::ptx_instruction( int opcode, if (fname =="vprintf"){ m_is_printf = true; } - if(fname == "cudaGetParameterBufferV2") - m_is_cdp = 1; if(fname == "cudaStreamCreateWithFlags") + m_is_cdp = 1; + if(fname == "cudaGetParameterBufferV2") m_is_cdp = 2; if(fname == "cudaLaunchDeviceV2") - m_is_cdp = 3; + m_is_cdp = 4; } } |
