-
Notifications
You must be signed in to change notification settings - Fork 795
[SYCL][Joint Matrix][E2E] Add Joint Matrix tests for matrix dimension as function argument and runtime input #15429
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
aelovikov-intel
merged 13 commits into
intel:sycl
from
YixingZhang007:add_joint_matrix_runtime_tests
Oct 4, 2024
Merged
Changes from all commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
1b2622e
add tests for matrix size be runtime dimension
YixingZhang007 5130a90
update the arg_dim test to reuse the bf16_cache test
YixingZhang007 87a6fa5
update the test to address the commets
YixingZhang007 40e0263
add test for runtime matrix dimension
YixingZhang007 26ab2b1
reuse joint_matmul from joint_matrix_bf16_fill_k_cache_impl.hpp in jo…
YixingZhang007 c3a9cc6
remove extern for testIterations and recordThresh
YixingZhang007 cc02f98
remove the link to jira
YixingZhang007 9fbea06
remove joint_matrix_bf16_fill_k_cache_runtime_dim_impl.hpp
YixingZhang007 7c17f1c
modify the test() function interface
YixingZhang007 378dad1
fix bug
YixingZhang007 950f693
fix bug
YixingZhang007 40fd99a
code clean up
YixingZhang007 4f6244a
code clean up
YixingZhang007 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
17 changes: 17 additions & 0 deletions
17
sycl/test-e2e/Matrix/joint_matrix_bf16_fill_k_cache_arg_dim.cpp
This file contains hidden or 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,17 @@ | ||
| //==--- joint_matrix_bf16_fill_k_cache_arg_dim.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 | ||
| // XFAIL: arch-intel_gpu_pvc | ||
|
|
||
| // RUN: %{build} -o %t_arg_dim_vnni.out %fp-model-precise -DARG_DIM -DVNNI | ||
| // RUN: %{run} %t_arg_dim_vnni.out | ||
|
|
||
| // -ffp-model=precise is added to not depend on compiler defaults. | ||
|
|
||
| #include "common.hpp" | ||
| #include "joint_matrix_bf16_fill_k_cache_impl.hpp" | ||
This file contains hidden or 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
17 changes: 17 additions & 0 deletions
17
sycl/test-e2e/Matrix/joint_matrix_bf16_fill_k_cache_runtime_dim.cpp
This file contains hidden or 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,17 @@ | ||
| //==--- joint_matrix_bf16_fill_k_cache_runtime_dim.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 | ||
| // XFAIL: arch-intel_gpu_pvc | ||
YuriPlyakhin marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
|
||
| // RUN: %{build} -o %t_runtime_dim_vnni.out %fp-model-precise -DRUNTIME_DIM -DVNNI | ||
| // RUN: %{run} %t_runtime_dim_vnni.out 256 | ||
|
|
||
| // -ffp-model=precise is added to not depend on compiler defaults. | ||
|
|
||
| #include "common.hpp" | ||
| #include "joint_matrix_bf16_fill_k_cache_impl.hpp" | ||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.