From 5ea6d0d35fe8005da93b796b1ebf43660a236357 Mon Sep 17 00:00:00 2001 From: "Andrew M. B. Boktor" Date: Thu, 17 May 2012 11:11:11 -0800 Subject: Removing warnings A bit of cleanup [git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 12627] --- src/abstract_hardware_model.h | 2 ++ src/cuda-sim/ptx.l | 1 + 2 files changed, 3 insertions(+) (limited to 'src') diff --git a/src/abstract_hardware_model.h b/src/abstract_hardware_model.h index f70058e..a2d144f 100644 --- a/src/abstract_hardware_model.h +++ b/src/abstract_hardware_model.h @@ -684,6 +684,8 @@ public: m_mem_accesses_created=false; m_cache_hit=false; } + virtual ~warp_inst_t(){ + } // modifiers void do_atomic(bool forceDo=false); diff --git a/src/cuda-sim/ptx.l b/src/cuda-sim/ptx.l index 01b479f..648de30 100644 --- a/src/cuda-sim/ptx.l +++ b/src/cuda-sim/ptx.l @@ -27,6 +27,7 @@ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +%option nounput %option noyywrap %option yylineno %option prefix="ptx_" -- cgit v1.3