From 69f2911e04ffb1b19eef1fafb8c040af271f656e Mon Sep 17 00:00:00 2001 From: Tor Aamodt Date: Thu, 15 Jul 2010 18:09:46 -0800 Subject: creating branch for adding support for CUDA 3.x and Fermi [git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 6829] --- src/abstract_hardware_model.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 src/abstract_hardware_model.h (limited to 'src/abstract_hardware_model.h') diff --git a/src/abstract_hardware_model.h b/src/abstract_hardware_model.h new file mode 100644 index 0000000..39f4b3f --- /dev/null +++ b/src/abstract_hardware_model.h @@ -0,0 +1,12 @@ +#ifndef CORE_T_INCLUDED +#define CORE_T_INCLUDED + +class core_t { +public: + virtual ~core_t() {} + virtual void set_at_barrier( unsigned cta_id, unsigned warp_id ) = 0; + virtual void warp_exit( unsigned warp_id ) = 0; + virtual bool warp_waiting_at_barrier( unsigned warp_id ) = 0; +}; + +#endif -- cgit v1.3