diff options
| author | speverel <[email protected]> | 2016-06-03 15:24:40 -0700 |
|---|---|---|
| committer | speverel <[email protected]> | 2016-06-03 15:24:40 -0700 |
| commit | 71ccce6074de5d7eef3fbe2cda1dbca008549f07 (patch) | |
| tree | 0007824038372cda21f4fa88916b54c908e30864 /src/cuda-sim | |
| parent | 068e34728a0706cd8671b816eea466491ab2db06 (diff) | |
Added support for %laneid SFR. Also added a notice clarifying that power modeling for GTX750Ti is currently completely untested and should not be considered supported.
Diffstat (limited to 'src/cuda-sim')
| -rw-r--r-- | src/cuda-sim/ptx_sim.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cuda-sim/ptx_sim.cc b/src/cuda-sim/ptx_sim.cc index 9b32e68..09844ae 100644 --- a/src/cuda-sim/ptx_sim.cc +++ b/src/cuda-sim/ptx_sim.cc @@ -240,7 +240,7 @@ unsigned ptx_thread_info::get_builtin( int builtin_id, unsigned dim_mod ) } case GRIDID_REG: return m_gridid; - case LANEID_REG: feature_not_implemented( "%laneid" ); return 0; + case LANEID_REG: return get_hw_tid() % m_core->get_warp_size(); case LANEMASK_EQ_REG: feature_not_implemented( "%lanemask_eq" ); return 0; case LANEMASK_LE_REG: feature_not_implemented( "%lanemask_le" ); return 0; case LANEMASK_LT_REG: feature_not_implemented( "%lanemask_lt" ); return 0; |
