summaryrefslogtreecommitdiff
path: root/libcuda
diff options
context:
space:
mode:
Diffstat (limited to 'libcuda')
-rw-r--r--libcuda/gpgpu_context.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/libcuda/gpgpu_context.h b/libcuda/gpgpu_context.h
index 3c9f87c..c0b250a 100644
--- a/libcuda/gpgpu_context.h
+++ b/libcuda/gpgpu_context.h
@@ -16,9 +16,7 @@ class gpgpu_context {
ptx_parser = new ptx_recognizer(this);
the_gpgpusim = new GPGPUsim_ctx(this);
func_sim = new cuda_sim(this);
-#if (CUDART_VERSION >= 5000)
device_runtime = new cuda_device_runtime(this);
-#endif
}
// global list
symbol_table *g_global_allfiles_symbol_table;
@@ -29,9 +27,7 @@ class gpgpu_context {
ptx_recognizer* ptx_parser;
GPGPUsim_ctx* the_gpgpusim;
cuda_sim* func_sim;
-#if (CUDART_VERSION >= 5000)
cuda_device_runtime* device_runtime;
-#endif
// member function list
void cuobjdumpParseBinary(unsigned int handle);
class symbol_table *gpgpu_ptx_sim_load_ptx_from_string( const char *p, unsigned source_num );