summaryrefslogtreecommitdiff
path: root/cuobjdump_to_ptxplus/ptx_parser.h
diff options
context:
space:
mode:
authorAndrew M. B. Boktor <[email protected]>2012-05-24 22:54:54 -0800
committerAndrew Boktor <[email protected]>2014-08-14 13:47:31 -0700
commit9b5f12d4ad0e61e548a19431dfb68b4ca9ba76bd (patch)
treefaf0ee6bc14d55ab865255878f1ad5c0754ddc0b /cuobjdump_to_ptxplus/ptx_parser.h
parent65b99147919d7d50cb7c395042155e882001ae14 (diff)
Cleaning up the output by cuobjdump_to_ptxplus
Fixing ptxplus with AES [git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 12737]
Diffstat (limited to 'cuobjdump_to_ptxplus/ptx_parser.h')
-rw-r--r--cuobjdump_to_ptxplus/ptx_parser.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/cuobjdump_to_ptxplus/ptx_parser.h b/cuobjdump_to_ptxplus/ptx_parser.h
index 6d855f6..da22f30 100644
--- a/cuobjdump_to_ptxplus/ptx_parser.h
+++ b/cuobjdump_to_ptxplus/ptx_parser.h
@@ -44,7 +44,7 @@
#define NON_ARRAY_IDENTIFIER 1
#define ARRAY_IDENTIFIER_NO_DIM 2
#define ARRAY_IDENTIFIER 3
-#define P_DEBUG 1
+#define P_DEBUG 0
#define DPRINTF(...) \
if(P_DEBUG) { \
printf("(%s:%s:%u) ", __FILE__, __FUNCTION__, __LINE__); \
@@ -348,7 +348,9 @@ void func_header_info(const char* headerInfo)
} else if(inConstDirective){
} else {
- printf("Unkown header info: #%s#\n", headerInfo);
+ // This information is supposed to be not needed.
+ // Suppressing printing it
+ // printf("Unkown header info: #%s#\n", headerInfo);
}
}