From c5677a028d56b84dfe5939f78a71e0e60373a0ed Mon Sep 17 00:00:00 2001 From: Tor Aamodt Date: Sat, 17 Jul 2010 16:53:43 -0800 Subject: param space updates for correct parsing (still need to allocate thread local storage for local param memory) [git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 6871] --- src/abstract_hardware_model.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/abstract_hardware_model.h') diff --git a/src/abstract_hardware_model.h b/src/abstract_hardware_model.h index 1138270..4c6e23e 100644 --- a/src/abstract_hardware_model.h +++ b/src/abstract_hardware_model.h @@ -30,9 +30,8 @@ typedef enum _memory_space_t { local_space, shared_space, param_space_unclassified, - param_space_kernel, /* input parameters on kernel entry points */ - param_space_local_r, /* device functions can read this : input parameters on device functions */ - param_space_local_w, /* device functions can write this : used for return values and locally declared param memory */ + param_space_kernel, /* global to all threads in a kernel : read-only */ + param_space_local, /* local to a thread : read-writable */ const_space, tex_space, surf_space, -- cgit v1.3