forked from intel/llvm
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[SYCL][Joint Matrix][E2E] Add few load/store tests for different Join…
…tMatrixLoadStoreOpt flag setting (intel#13873) This PR adds the following tests: - element_wise_all_ops verification for IGC_JointMatrixLoadStoreOpt=2,1,0. It is split to 3 different tests, since test runtime became too big, so splitting allows to run tests faster in several threads - big combinations, B row-major and annotated_ptr tests with different flag setting (IGC_JointMatrixLoadStoreOpt=0,1) in accordance with the loads/stores implemented in IGC for those flag settings.
- Loading branch information
1 parent
6f3ce0f
commit dec1146
Showing
7 changed files
with
50 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters