From 64ecf6992b5e0400877c2d1b479dddcadac6db69 Mon Sep 17 00:00:00 2001 From: Wilson Fung Date: Fri, 9 Nov 2012 15:33:00 -0800 Subject: 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] --- cuobjdump_to_ptxplus/ptx_parser.h | 1 + 1 file changed, 1 insertion(+) (limited to 'cuobjdump_to_ptxplus') 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(" ");} -- cgit v1.3