summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/abstract_hardware_model.h2
-rw-r--r--src/cuda-sim/ptx.l1
2 files changed, 3 insertions, 0 deletions
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_"