diff options
Diffstat (limited to 'src/abstract_hardware_model.h')
| -rw-r--r-- | src/abstract_hardware_model.h | 12 |
1 files changed, 12 insertions, 0 deletions
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 |
