aboutsummaryrefslogtreecommitdiff
path: root/decuda_to_ptxplus/decudaInstList.h
diff options
context:
space:
mode:
Diffstat (limited to 'decuda_to_ptxplus/decudaInstList.h')
-rw-r--r--decuda_to_ptxplus/decudaInstList.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/decuda_to_ptxplus/decudaInstList.h b/decuda_to_ptxplus/decudaInstList.h
index 649a5f5..d1707c3 100644
--- a/decuda_to_ptxplus/decudaInstList.h
+++ b/decuda_to_ptxplus/decudaInstList.h
@@ -14,7 +14,7 @@ struct constMemory
{
int index;
int entryIndex;
- char* type;
+ const char* type;
std::list<std::string> m_constMemory;
};
@@ -65,7 +65,7 @@ struct decudaEntry
class decudaInstList
{
-private:
+protected:
// List of decuda entries
std::list<decudaEntry> m_entryList;
@@ -125,7 +125,7 @@ public:
// Parsing constant memory segments list
void addEntryConstMemory(int index); // add entry specific const memory
void addConstMemory(int index); // add global const memory
- void setConstMemoryType(char* type); // set type of constant memory
+ void setConstMemoryType(const char* type); // set type of constant memory
void addConstMemoryValue(std::string constMemoryValue); // add const memory
std::list<std::string> getRealTexList(); // get the list of real tex names