summaryrefslogtreecommitdiff
path: root/src/abstract_hardware_model.cc
diff options
context:
space:
mode:
authorAndrew M. B. Boktor <[email protected]>2012-08-17 14:45:03 -0800
committerAndrew Boktor <[email protected]>2014-08-14 13:48:54 -0700
commit9b49af32a493752503cd414e5a15063ac0bc98a1 (patch)
tree366f3f8d300711222f39e84b659100052411ace7 /src/abstract_hardware_model.cc
parent7757c7e26172c5d6452ba2b1b051df3fd28505d3 (diff)
On demand loading of fatbins
Experimental library support (diff abstract_hardware_model.cc) (currently broken because of undocumented cudaGetExportTable function in the cuda rt api) [git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 13793]
Diffstat (limited to 'src/abstract_hardware_model.cc')
-rw-r--r--src/abstract_hardware_model.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/abstract_hardware_model.cc b/src/abstract_hardware_model.cc
index dd1e755..7a9fcf8 100644
--- a/src/abstract_hardware_model.cc
+++ b/src/abstract_hardware_model.cc
@@ -58,6 +58,10 @@ void gpgpu_functional_sim_config::reg_options(class OptionParser * opp)
"0"
#endif
);
+ option_parser_register(opp, "-gpgpu_experimental_lib_support", OPT_BOOL,
+ &m_experimental_lib_support,
+ "Try to extract code from cuda libraries [Broken because of unknown cudaGetExportTable]",
+ "0");
option_parser_register(opp, "-gpgpu_ptx_convert_to_ptxplus", OPT_BOOL,
&m_ptx_convert_to_ptxplus,
"Convert SASS (native ISA) to ptxplus and run ptxplus",