Skip to content

Commit ad56cc2

Browse files
authored
[FIX] Fix new compiler issue (#2715)
1 parent 111208d commit ad56cc2

File tree

2 files changed

+23
-1
lines changed

2 files changed

+23
-1
lines changed

WORKSPACE

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ load(
3232
# curl -L https://github.com/openxla/xla/archive/<git hash>.tar.gz | sha256sum
3333
# and update XLA_SHA256 with the result.
3434

35-
XLA_COMMIT = "da290b48daafac8cf9db1d9431ed1e4bd5fccdfa"
35+
XLA_COMMIT = "ba22d09548e4f087ff7899f5ac5aa918e291d591"
3636

3737
new_git_repository(
3838
name = "intel_extension_for_openxla",

third_party/xetla/xetla.patch

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
diff --git a/include/subgroup/tile/impl/payload_xe.hpp b/include/subgroup/tile/impl/payload_xe.hpp
2+
index a78a1e5..acf7117 100644
3+
--- a/include/subgroup/tile/impl/payload_xe.hpp
4+
+++ b/include/subgroup/tile/impl/payload_xe.hpp
5+
@@ -79,7 +79,7 @@ public:
6+
xetla_vector<uint32_t, 16 * num_block> payloads;
7+
8+
inline mem_payload_t(const this_payload_t &rhs) {
9+
- this->payload = rhs.payload;
10+
+ this->payloads = rhs.payloads;
11+
}
12+
13+
inline mem_payload_t(mem_desc_t &mem_desc) {
14+
@@ -128,7 +128,7 @@ public:
15+
// ~mem_payload_t(){}
16+
17+
inline this_payload_t &operator=(const this_payload_t &rhs) {
18+
- this->payload = rhs.payload;
19+
+ this->payloads = rhs.payloads;
20+
return *this;
21+
}
22+

0 commit comments

Comments
 (0)