From fcb7e0b302639ef4bca589b43d8a57d2dec623e5 Mon Sep 17 00:00:00 2001 From: Tor Aamodt Date: Thu, 29 Jul 2010 22:02:01 -0800 Subject: compiling (not operand collector probably won't work for anything using tex instructions currently) [git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 7106] --- src/gpgpu-sim/shader.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/gpgpu-sim/shader.h') diff --git a/src/gpgpu-sim/shader.h b/src/gpgpu-sim/shader.h index 702046d..9f64da5 100644 --- a/src/gpgpu-sim/shader.h +++ b/src/gpgpu-sim/shader.h @@ -885,7 +885,7 @@ void shader_print_l1_miss_stat( FILE *fout ); //based on on the current kernel's CTA size and is 1 if mutiple CTA per block is not supported unsigned int max_cta_per_shader( shader_core_ctx_t *shader); -#define N_PIPELINE_STAGES 7 +#define N_PIPELINE_STAGES (gpgpu_operand_collector ? 8 : 7) #define TS_IF 0 #define IF_ID 1 #define ID_RR 2 @@ -894,6 +894,7 @@ unsigned int max_cta_per_shader( shader_core_ctx_t *shader); #define EX_MM 4 #define MM_WB 5 #define WB_RT 6 +#define ID_OC 7 #endif /* SHADER_H */ -- cgit v1.3