Skip to content

Commit 13a0da0

Browse files
authored
[Compiler] Update and Support Compiler 2025.0 (#423)
1 parent a373b89 commit 13a0da0

File tree

5 files changed

+424
-4
lines changed

5 files changed

+424
-4
lines changed

third_party/openxla.patch

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6380,10 +6380,10 @@ index 0000000000..ce441527d5
63806380
+
63816381
+#endif // XLA_STREAM_EXECUTOR_GPU_GPU_MALLOC_ALLOCATOR_H_
63826382
diff --git a/xla/stream_executor/gpu/gpu_types.h b/xla/stream_executor/gpu/gpu_types.h
6383-
index c8d6266b35..05d29efe79 100644
6383+
index c8d6266b35..a6b4afa2bd 100644
63846384
--- a/xla/stream_executor/gpu/gpu_types.h
63856385
+++ b/xla/stream_executor/gpu/gpu_types.h
6386-
@@ -18,7 +18,17 @@ limitations under the License.
6386+
@@ -18,7 +18,18 @@ limitations under the License.
63876387
#ifndef XLA_STREAM_EXECUTOR_GPU_GPU_TYPES_H_
63886388
#define XLA_STREAM_EXECUTOR_GPU_GPU_TYPES_H_
63896389

@@ -6397,12 +6397,13 @@ index c8d6266b35..05d29efe79 100644
63976397
+#else
63986398
+#error "Unsupported compiler"
63996399
+#endif
6400+
+#include <complex>
64006401
+
64016402
+#elif TENSORFLOW_USE_ROCM
64026403

64036404
#define __HIP_DISABLE_CPP_FUNCTIONS__
64046405

6405-
@@ -40,7 +50,34 @@ namespace gpu {
6406+
@@ -40,7 +51,34 @@ namespace gpu {
64066407
// current CUDA/HIP version.
64076408
struct UnsupportedGpuFeature {};
64086409

0 commit comments

Comments
 (0)