summaryrefslogtreecommitdiff
path: root/src/cuda-sim/ptx_ir.cc
diff options
context:
space:
mode:
authorTor Aamodt <[email protected]>2010-08-08 07:20:16 -0800
committerTor Aamodt <[email protected]>2010-08-08 07:20:16 -0800
commit6ef41cd4671ebb8d79d3b8a2cdb33b518ec2e6cf (patch)
treee8787bd962f204c677e789dc81aa6034c7409c9e /src/cuda-sim/ptx_ir.cc
parent34f6823f1ca28a0e99cd810061bbbf833f803b9c (diff)
refactoring: start moving prototypes into headers
[git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 7164]
Diffstat (limited to 'src/cuda-sim/ptx_ir.cc')
-rw-r--r--src/cuda-sim/ptx_ir.cc8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/cuda-sim/ptx_ir.cc b/src/cuda-sim/ptx_ir.cc
index e0f2316..b2c8552 100644
--- a/src/cuda-sim/ptx_ir.cc
+++ b/src/cuda-sim/ptx_ir.cc
@@ -71,14 +71,10 @@
#include <algorithm>
#include <stdarg.h>
+#include "cuda-sim.h"
+
extern unsigned g_max_regs_per_thread;
extern "C" int ptx_error( const char *s );
-void gpgpu_ptx_sim_bindTextureToArray(const struct textureReference* texref, struct cudaArray* array); //texture functions
-struct cudaArray* gpgpu_ptx_sim_accessArrayofTexture(struct textureReference* texref);
-void gpgpu_ptx_sim_bindNameToTexture(const char* name, struct textureReference* texref);
-struct textureReference* gpgpu_ptx_sim_accessTextureofName(const char* name);
-const char* gpgpu_ptx_sim_findNamefromTexture(const struct textureReference* texref);
-int gpgpu_ptx_sim_sizeofTexture(const char* name);
// the program intermediate representation...
symbol_table *g_global_symbol_table = NULL;