From 0cb76063ce079a0606598e145da351f134235ab5 Mon Sep 17 00:00:00 2001 From: "Andrew M. B. Boktor" Date: Wed, 18 Apr 2012 16:33:33 -0800 Subject: This changelist implements the following: 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] --- decuda_to_ptxplus/decudaInstList.h | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'decuda_to_ptxplus/decudaInstList.h') diff --git a/decuda_to_ptxplus/decudaInstList.h b/decuda_to_ptxplus/decudaInstList.h index da0d48a..d7387ee 100644 --- a/decuda_to_ptxplus/decudaInstList.h +++ b/decuda_to_ptxplus/decudaInstList.h @@ -34,7 +34,7 @@ #include #include #include -#include +#include #include // Used for entry specific constant memory segments (c1) @@ -46,6 +46,13 @@ struct constMemory std::list m_constMemory; }; +struct constMemory2 +{ + const char* kernel; + const char* type; + std::list m_constMemory; +}; + // Used for uninitialized constant memory (globally defined) struct constMemoryPtr { @@ -102,6 +109,7 @@ protected: // Const memory list std::list m_constMemoryList; + std::list m_constMemoryList2; // Const memory pointers list std::list m_constMemoryPtrList; @@ -157,7 +165,9 @@ public: void addEntryConstMemory(int index); // add entry specific const memory void addConstMemory(int index); // add global const memory void setConstMemoryType(const char* type); // set type of constant memory + void setConstMemoryType2(const char* type); // set type of constant memory void addConstMemoryValue(std::string constMemoryValue); // add const memory + void addConstMemoryValue2(std::string constMemoryValue); // add const memory std::list getRealTexList(); // get the list of real tex names void setRealTexList(std::list realTexList); // set the list of real tex names -- cgit v1.3