diff --git a/sycl/test-e2e/Matrix/element_wise_all_ops_1d.cpp b/sycl/test-e2e/Matrix/element_wise_all_ops_1d.cpp new file mode 100644 index 0000000000000..d3d0396593bb0 --- /dev/null +++ b/sycl/test-e2e/Matrix/element_wise_all_ops_1d.cpp @@ -0,0 +1,14 @@ +//==-------- element_wise_all_ops_1d.cpp - DPC++ joint_matrix ---------==// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// +// REQUIRES: aspect-ext_intel_matrix, gpu + +// RUN: %{build} -o %t.out +// RUN: env IGC_JointMatrixLoadStoreOpt=1 %{run} %t.out + +#include "common.hpp" +#include "element_wise_all_ops_impl.hpp" diff --git a/sycl/test-e2e/Matrix/element_wise_all_ops_1d_cont.cpp b/sycl/test-e2e/Matrix/element_wise_all_ops_1d_cont.cpp new file mode 100644 index 0000000000000..1529e60c4165c --- /dev/null +++ b/sycl/test-e2e/Matrix/element_wise_all_ops_1d_cont.cpp @@ -0,0 +1,14 @@ +//==-------- element_wise_all_ops_1d_cont.cpp - DPC++ joint_matrix ---------==// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// +// REQUIRES: aspect-ext_intel_matrix, gpu + +// RUN: %{build} -o %t.out +// RUN: env IGC_JointMatrixLoadStoreOpt=2 %{run} %t.out + +#include "common.hpp" +#include "element_wise_all_ops_impl.hpp" diff --git a/sycl/test-e2e/Matrix/element_wise_all_ops_scalar.cpp b/sycl/test-e2e/Matrix/element_wise_all_ops_scalar.cpp new file mode 100644 index 0000000000000..0604a7f345963 --- /dev/null +++ b/sycl/test-e2e/Matrix/element_wise_all_ops_scalar.cpp @@ -0,0 +1,14 @@ +//==---- element_wise_all_ops_scalar.cpp - DPC++ joint_matrix ------==// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// +// REQUIRES: aspect-ext_intel_matrix, gpu + +// RUN: %{build} -o %t.out +// RUN: env IGC_JointMatrixLoadStoreOpt=0 %{run} %t.out + +#include "common.hpp" +#include "element_wise_all_ops_impl.hpp" diff --git a/sycl/test-e2e/Matrix/joint_matrix_annotated_ptr.cpp b/sycl/test-e2e/Matrix/joint_matrix_annotated_ptr.cpp index 7aad02b2066a1..e21bdaa06a328 100644 --- a/sycl/test-e2e/Matrix/joint_matrix_annotated_ptr.cpp +++ b/sycl/test-e2e/Matrix/joint_matrix_annotated_ptr.cpp @@ -9,6 +9,8 @@ // RUN: %{build} -o %t.out // RUN: %{run} %t.out +// RUN: %if gpu %{ env IGC_JointMatrixLoadStoreOpt=0 %{run} %t.out %} +// RUN: %if gpu %{ env IGC_JointMatrixLoadStoreOpt=1 %{run} %t.out %} #include "common.hpp" diff --git a/sycl/test-e2e/Matrix/joint_matrix_bfloat16_packedB.cpp b/sycl/test-e2e/Matrix/joint_matrix_bfloat16_packedB.cpp index cb1beda1f95d6..bf3a65d2a16d7 100644 --- a/sycl/test-e2e/Matrix/joint_matrix_bfloat16_packedB.cpp +++ b/sycl/test-e2e/Matrix/joint_matrix_bfloat16_packedB.cpp @@ -11,6 +11,8 @@ // RUN: %{build} -o %t.out // RUN: %{run} %t.out // RUN: %if gpu %{ env IGC_JointMatrixLoadStoreOpt=2 %{run} %t.out %} +// RUN: %if gpu %{ env IGC_JointMatrixLoadStoreOpt=1 %{run} %t.out %} +// RUN: %if gpu %{ env IGC_JointMatrixLoadStoreOpt=0 %{run} %t.out %} #include "common.hpp" #include "joint_matrix_bfloat16_packedB_impl.hpp" diff --git a/sycl/test-e2e/Matrix/joint_matrix_int8_vnni.cpp b/sycl/test-e2e/Matrix/joint_matrix_int8_vnni.cpp index f592057ce94d5..4ce91037fc668 100644 --- a/sycl/test-e2e/Matrix/joint_matrix_int8_vnni.cpp +++ b/sycl/test-e2e/Matrix/joint_matrix_int8_vnni.cpp @@ -9,6 +9,8 @@ // RUN: %{build} -o %t.out // RUN: %{run} %t.out +// RUN: %if gpu %{ env IGC_JointMatrixLoadStoreOpt=0 %{run} %t.out %} +// RUN: %if gpu %{ env IGC_JointMatrixLoadStoreOpt=1 %{run} %t.out %} #include "common.hpp" diff --git a/sycl/test-e2e/Matrix/joint_matrix_rowmajorA_rowmajorB.cpp b/sycl/test-e2e/Matrix/joint_matrix_rowmajorA_rowmajorB.cpp index c537112345be5..bfcf624abe97b 100644 --- a/sycl/test-e2e/Matrix/joint_matrix_rowmajorA_rowmajorB.cpp +++ b/sycl/test-e2e/Matrix/joint_matrix_rowmajorA_rowmajorB.cpp @@ -12,6 +12,8 @@ // RUN: %{build} -o %t.out // RUN: %{run} %t.out // RUN: %if gpu %{ env IGC_JointMatrixLoadStoreOpt=2 %{run} %t.out %} +// RUN: %if gpu %{ env IGC_JointMatrixLoadStoreOpt=1 %{run} %t.out %} +// RUN: %if gpu %{ env IGC_JointMatrixLoadStoreOpt=0 %{run} %t.out %} // This tests support of row major layout for matrix B which does automatic VNNI // transform. This is currently only available on AMX and XMX of PVC