summaryrefslogtreecommitdiff
path: root/cuobjdump_to_ptxplus
diff options
context:
space:
mode:
authorWilson Fung <[email protected]>2012-11-09 15:33:00 -0800
committerAndrew Boktor <[email protected]>2014-08-14 13:49:21 -0700
commit64ecf6992b5e0400877c2d1b479dddcadac6db69 (patch)
tree29497a626d6b45d31028ae8d7caac0a6fded8f37 /cuobjdump_to_ptxplus
parentc6becca8e1c9c188b515d4c66df66114ef448361 (diff)
Extended PTX parser to recognize the .ptr .shared directive and allocate shared memory buffer to those pointers. This is required to support OpenCL local memorywith the newer NVIDIA driver.
[git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 14565]
Diffstat (limited to 'cuobjdump_to_ptxplus')
-rw-r--r--cuobjdump_to_ptxplus/ptx_parser.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/cuobjdump_to_ptxplus/ptx_parser.h b/cuobjdump_to_ptxplus/ptx_parser.h
index dc7c7c0..f8b922b 100644
--- a/cuobjdump_to_ptxplus/ptx_parser.h
+++ b/cuobjdump_to_ptxplus/ptx_parser.h
@@ -105,6 +105,7 @@ void change_memory_addr_space( const char *a ) {DPRINTF(" ");}
void add_literal_int( int a ) {DPRINTF(" ");}
void add_literal_float( float a ) {DPRINTF(" ");}
void add_literal_double( double a ) {DPRINTF(" ");}
+void add_ptr_spec( enum _memory_space_t spec ) {DPRINTF(" ");}
void add_extern_spec() {DPRINTF(" ");}
void add_alignment_spec( int ) {DPRINTF(" ");}
void add_pragma( const char *a ) {DPRINTF(" ");}