summaryrefslogtreecommitdiff
path: root/libcuda/gpgpu_context.h
diff options
context:
space:
mode:
authorMengchi Zhang <[email protected]>2019-06-10 22:42:27 -0400
committerMengchi Zhang <[email protected]>2019-06-10 22:42:27 -0400
commit269fbbdb72dacdf4dc3c482b213174336c3eeb1f (patch)
tree442de4c9934d4847b8569dc524d9539d8c95d409 /libcuda/gpgpu_context.h
parenta34d4295ca856297ad76d5a6408cdaa163554809 (diff)
Move getters for gpgpu_context to globals
Signed-off-by: Mengchi Zhang <[email protected]>
Diffstat (limited to 'libcuda/gpgpu_context.h')
-rw-r--r--libcuda/gpgpu_context.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libcuda/gpgpu_context.h b/libcuda/gpgpu_context.h
index 4622f00..6c8a293 100644
--- a/libcuda/gpgpu_context.h
+++ b/libcuda/gpgpu_context.h
@@ -12,4 +12,6 @@ class gpgpu_context {
cuda_runtime_api* api;
// member function list
};
+gpgpu_context* GPGPU_Context();
+
#endif /* __gpgpu_context_h__ */