summaryrefslogtreecommitdiff
path: root/src/cuda-sim/ptx_loader.h
AgeCommit message (Collapse)Author
2019-09-13Big reformat change using clang-format-6.0Nick
2019-09-13Revert "Add src/cuda-sim formatting"Nick
This reverts commit 0c023e41809dba8897c37af6bb03e5c3aa9ebc5e.
2019-09-13Add src/cuda-sim formattingNick
2019-07-11Remove standalone extern no_of_ptxMengchi Zhang
Signed-off-by: Mengchi Zhang <[email protected]>
2019-07-11Move g_override_embedded_ptxMengchi Zhang
Signed-off-by: Mengchi Zhang <[email protected]>
2019-07-09Move m_ptx_save_converted_ptxplusMengchi Zhang
Signed-off-by: Mengchi Zhang <[email protected]>
2019-07-07g_keep_intermediate_filesMengchi Zhang
Signed-off-by: Mengchi Zhang <[email protected]>
2019-07-03Remove g_filenameMengchi Zhang
Signed-off-by: Mengchi Zhang <[email protected]>
2019-07-02Move ptxinfo_addinfoMengchi Zhang
Signed-off-by: Mengchi Zhang <[email protected]>
2019-06-12Fix some compiler warningMengchi Zhang
Signed-off-by: Mengchi Zhang <[email protected]>
2019-06-12Integrate ptxinfo into gpgpu_contextMengchi Zhang
Signed-off-by: Mengchi Zhang <[email protected]>
2019-06-12Move g_ptxinfo_filenameMengchi Zhang
Signed-off-by: Mengchi Zhang <[email protected]>
2019-06-12Move some function from ptx_loader to gpgpu_contextMengchi Zhang
Signed-off-by: Mengchi Zhang <[email protected]>
2019-05-30Move fatbin etc globalsMengchi Zhang
Signed-off-by: Mengchi Zhang <[email protected]>
2019-05-24Fix linebuf for ptxinfoMengchi Zhang
Signed-off-by: Mengchi Zhang <[email protected]>
2018-07-23brought back ptxinfoJonathan
2018-06-01WIP attempting to parse ptx files in orderJonathan
2018-03-25code for removing duplicates in embedded ptxAmruth
2016-05-13changed gpgpu_ptxinfo_load_from_string definition for Ahmedsspenst
2016-05-13changed the SM version flag for generating ptxinfo to be dynamic instead of 20sspenst
2014-08-14Re-wrote the intermediate structure for the output of cuobjdump using C++ ↵Andrew M. B. Boktor
classes Some changes to remove warnings [git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 12609]
2014-08-14Supporting the option for removing temporary filesAndrew M. B. Boktor
. the option -gpgpu_ptx_save_converted_ptxplus allows keeping the ptxplus file . the option -gpgpu_keep allows keeping intermediate files used to communicate with other programs (e.g. cuobjdump) [git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 12304]
2014-08-14Removing all remaining traced of decudaAndrew M. B. Boktor
Stopping if someone tries to use PTXPlus without cuobjdump [git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 12138]
2014-08-14This changelist implements the following:Andrew M. B. Boktor
1. Adds support for using cuobjdump for both ptx and ptxplus execution. This has been tested with CUDA 4.0 . Ptxplus is no longer supported through decuda/decuda_to_ptxplus 2. Adds support for converting the SASS output by cuobjdump to ptxplus. This has been tested with CUDA 4.0 . The old path that extracts ptx from cubin files is still preserved 3. Adds a bank group model. (WARNING: memory config has changed, please adapt yours). To disable the bank groups model, set nbkgrp to 1 and tCCDL and tRTPL to 0 Diff the configuration files to learn about how to use those new options. Merging //depot/gpgpu_sim_research/fermi-test/distribution/... to //depot/gpgpu_sim_research/fermi/distribution/... [git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 12023]
2014-08-14change copyright notice to include authorsTor Aamodt
[git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 9872]
2010-10-081. refactoring cuda api code for loading PTX (removing external PTX loading ↵Tor Aamodt
entirely) 2. some bug fixes for warp_inst_t 3. creating a new class, gpgpu_t, which contains the functional "memory" state visible to all threads running on a GPU (doing this as part of my continuing effort to hunt down and eradicate every global variable that is not the top level "the gpu") 4. other misc. changes Almost passing CUDA 3.1 regression? oclHistogram keeps failing under torque, but does not fail when run on the command line from the same directory. [git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 7827]
2010-10-03moving some CUDA API centric code to cuda_runtime_api.ccTor Aamodt
[git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 7811]
2010-10-031. integrating Inder's changesTor Aamodt
2. edit to 3dfd to enable execution on Quadro 3. update script to not pass device directly to 3dfd on command line (which it does not support) [git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 7810]
2010-10-031. enable L2 cache as a texture cache (also some bug fixes for L2 as regular ↵Tor Aamodt
cache) 2. update gpgpusim.config for Quadro to use L1 cache geometry from Henry's ISPASS paper 3. minor edit to CUDA api : add notion of fat_cubin_handle (currently not used for anything) 4. minor edits to deadlock detection message (more accurate reporting of source of deadlock) 5. other minor edits [git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 7809]
2010-10-01integrating recent changes from fermi-test into fermiTor Aamodt
(i'll use "fermi" for more disruptive changes to the pipeline model such as updating the MSHRs and getting rid of the warp tracker, ripping out DWF, etc...) [git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 7805]
2010-08-08** fully decouple kernel compilation from kernel launch for openclTor Aamodt
changes required to do this (this enables oclReduction SDK 3.1 to pass and is a prerequisite to Fermi style concurrent kernel launching) - separate kernel launch for cuda and opencl (and init_grid functions) - add pgm_info structure for holding kernel function_info pointer in _cl_program object after ptx compilation ** added support for clEnqueueNDRangeKernel with local_work_size==NULL which is part of OpenCL spec and used in oclSortingNetworks (however, this is a braindead implementation that only handles the case where global_work_size[0] is smaller than the max number of threads per shader; moreover oclSortingNetworks is still not working but for what looks like another reason) ** refactoring / cleanup - g_global_symbol_table made static to ptx_parser.cc - remove g_kernel_name_to_symtab_lookup (not really being used) - moving various function prototypes into headers (e.g., if foo() defined in bar.cc, then place prototype in bar.h) - adding icnt_reg_options() [git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 7168]
2010-08-08refactoring: moving 'loading' operations into ptx_loader.*Tor Aamodt
[git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 7166]