summaryrefslogtreecommitdiff
path: root/libcuda/gpgpu_context.h
diff options
context:
space:
mode:
authorMengchi Zhang <[email protected]>2019-06-12 01:42:52 -0400
committerMengchi Zhang <[email protected]>2019-06-12 01:42:52 -0400
commit9e52c143a883f682c02d81149748cdf8aa5508f7 (patch)
treeceaa34447db6adc3f26860d73db61df545ba86f9 /libcuda/gpgpu_context.h
parentba1ed2941753ae8406bc9ec4a0de1eddc6454a1c (diff)
Move some function from ptx_loader to gpgpu_context
Signed-off-by: Mengchi Zhang <[email protected]>
Diffstat (limited to 'libcuda/gpgpu_context.h')
-rw-r--r--libcuda/gpgpu_context.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libcuda/gpgpu_context.h b/libcuda/gpgpu_context.h
index 6c8a293..16626eb 100644
--- a/libcuda/gpgpu_context.h
+++ b/libcuda/gpgpu_context.h
@@ -11,6 +11,9 @@ class gpgpu_context {
// objects pointers for each file
cuda_runtime_api* api;
// member function list
+ void cuobjdumpParseBinary(unsigned int handle);
+ class symbol_table *gpgpu_ptx_sim_load_ptx_from_string( const char *p, unsigned source_num );
+ class symbol_table *gpgpu_ptx_sim_load_ptx_from_filename( const char *filename );
};
gpgpu_context* GPGPU_Context();