intel/compiler/test: Set devinfo->gen = 7
authorMatt Turner <mattst88@gmail.com>
Mon, 11 Feb 2019 20:23:16 +0000 (12:23 -0800)
committerIan Romanick <ian.d.romanick@intel.com>
Fri, 15 Feb 2019 19:11:02 +0000 (11:11 -0800)
commite50db60d16448477e519616d76a6c8f8778be4b0
treefbeebff14a980167187c0e0c0e7ec43eb363c4c3
parent9364d66cb7f7deb83876a44bb4e29e8105141c16
intel/compiler/test: Set devinfo->gen = 7

We emit an FBL instruction which only exists since Gen7. This prevents
the test from segfaulting when run with TEST_DEBUG=1.

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/intel/compiler/test_fs_cmod_propagation.cpp