summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configs/GeForceGTX750Ti/gpgpusim.config4
-rwxr-xr-xconfigs/GeForceGTX750Ti/gpuwattch_gtx750Ti.xml1
-rw-r--r--src/cuda-sim/ptx_sim.cc2
3 files changed, 5 insertions, 2 deletions
diff --git a/configs/GeForceGTX750Ti/gpgpusim.config b/configs/GeForceGTX750Ti/gpgpusim.config
index 7920763..8b030b6 100644
--- a/configs/GeForceGTX750Ti/gpgpusim.config
+++ b/configs/GeForceGTX750Ti/gpgpusim.config
@@ -119,8 +119,10 @@
-visualizer_enabled 0
# power model configs
+# power modeling is currently disabled for GTX750Ti. The gpuwattch_gtx750ti.xml file present is only a placeholder and has NOT been tested for accuracy.
+# proper modeling of Maxwell power is planned, but should be considered completely unsupported at present.
-power_simulation_enabled 0
--gpuwattch_xml_file gpuwattch_gtx480.xml
+-gpuwattch_xml_file gpuwattch_gtx750Ti.xml
# tracing functionality
#-trace_enabled 1
diff --git a/configs/GeForceGTX750Ti/gpuwattch_gtx750Ti.xml b/configs/GeForceGTX750Ti/gpuwattch_gtx750Ti.xml
index 304e0fd..e2b2324 100755
--- a/configs/GeForceGTX750Ti/gpuwattch_gtx750Ti.xml
+++ b/configs/GeForceGTX750Ti/gpuwattch_gtx750Ti.xml
@@ -1,3 +1,4 @@
+<!-- THIS CONFIG IS CURRENTLY PRESENT ONLY AS A PLACEHOLDER. IT HAS NOT BEEN TESTED FOR ACCURACY VERSUS GTX750TI HARDWARE. ANY USE OF THIS CONFIG WILL LIKELY GIVE HIGHLY INACCURATE RESULTS. -->
<?xml version="1.0" ?>
<component id="root" name="root">
<component id="system" name="system">
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;