intel: Add intel_device_info::has_systolic
Gfx125+ has systolic, with exception for MTL and some ARL variants. Update code and tests to use it. Reviewed-by: Rohan Garg <rohan.garg@intel.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34506>
This commit is contained in:
@@ -2984,7 +2984,7 @@ TEST_P(validation_test, add3_immediate_types)
|
||||
|
||||
TEST_P(validation_test, dpas_sdepth)
|
||||
{
|
||||
if (devinfo.verx10 < 125)
|
||||
if (!devinfo.has_systolic)
|
||||
return;
|
||||
|
||||
static const enum gfx12_systolic_depth depth[] = {
|
||||
@@ -3017,7 +3017,7 @@ TEST_P(validation_test, dpas_sdepth)
|
||||
|
||||
TEST_P(validation_test, dpas_exec_size)
|
||||
{
|
||||
if (devinfo.verx10 < 125)
|
||||
if (!devinfo.has_systolic)
|
||||
return;
|
||||
|
||||
static const enum brw_execution_size test_vectors[] = {
|
||||
@@ -3056,7 +3056,7 @@ TEST_P(validation_test, dpas_exec_size)
|
||||
|
||||
TEST_P(validation_test, dpas_sub_byte_precision)
|
||||
{
|
||||
if (devinfo.verx10 < 125)
|
||||
if (!devinfo.has_systolic)
|
||||
return;
|
||||
|
||||
static const struct {
|
||||
@@ -3182,7 +3182,7 @@ TEST_P(validation_test, dpas_sub_byte_precision)
|
||||
|
||||
TEST_P(validation_test, dpas_types)
|
||||
{
|
||||
if (devinfo.verx10 < 125)
|
||||
if (!devinfo.has_systolic)
|
||||
return;
|
||||
|
||||
if (devinfo.ver >= 20)
|
||||
@@ -3306,7 +3306,7 @@ TEST_P(validation_test, dpas_types)
|
||||
|
||||
TEST_P(validation_test, dpas_src_subreg_nr)
|
||||
{
|
||||
if (devinfo.verx10 < 125)
|
||||
if (!devinfo.has_systolic)
|
||||
return;
|
||||
|
||||
#define TV(dt, od, t0, o0, t1, o1, o2, r) \
|
||||
|
||||
Reference in New Issue
Block a user