Skip to content

Conversation

@dkhaldi
Copy link
Contributor

@dkhaldi dkhaldi commented Oct 6, 2022

@dkhaldi dkhaldi requested a review from a team as a code owner October 6, 2022 19:06
@dkhaldi dkhaldi requested a review from bso-intel October 6, 2022 19:06
@dkhaldi
Copy link
Contributor Author

dkhaldi commented Oct 25, 2022

ping @yubingex007-a11y

matrix_type atype;
matrix_type btype;
matrix_type ctype;
matrix_type acuumulatortype;
Copy link
Contributor

@yubingex007-a11y yubingex007-a11y Oct 26, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

accumulator type

@@ -0,0 +1,143 @@
// RUN: %clangxx -DSYCL_EXT_ONEAPI_MATRIX_VERSION=2 -fsycl -o query-use %s
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do we have a testcase in llvm-test-suite and check the query result?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@yubingex007-a11y
I am adding a test now.
BTW, https://github.com/intel/llvm/blob/sycl/sycl/include/sycl/ext/oneapi/matrix/static-query-use.hpp#L154 is currently wrong because in matrix-jit-use, we assume now that layout for A, B and C are unused.
I am correcting this now. But with adapting to the new API that is now merged (https://github.com/intel/llvm/blob/sycl/sycl/doc/extensions/experimental/sycl_ext_oneapi_matrix/sycl_ext_oneapi_matrix.asciidoc), we need to change this back because in the new (portable) API, layout on A and B is required.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do we have a testcase in llvm-test-suite and check the query result?

intel/llvm-test-suite#1358 adds the test

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dkhaldi
Copy link
Contributor Author

dkhaldi commented Nov 21, 2022

@againull, can you please help review/merge?
these are the changes (mainly cosmetic changes) that correspond to the test in intel/llvm-test-suite#1358

@dkhaldi
Copy link
Contributor Author

dkhaldi commented Nov 28, 2022

@intel/llvm-reviewers-runtime, can you please help merge this?

@dkhaldi
Copy link
Contributor Author

dkhaldi commented Dec 2, 2022

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants