Skip to content

Commit 088bea6

Browse files
[SYCL][Docs] Add sycl_ext_oneapi_virtual_mem extension and implementation (#8954)
This commit adds the sycl_ext_oneapi_virtual_mem experimental extension for reserving and mapping virtual address ranges. Accompanying it is the implementation in the SYCL runtime, together with CUDA and Level Zero backend support for the corresponding features. --------- Signed-off-by: Larsen, Steffen <[email protected]>
1 parent d52d779 commit 088bea6

35 files changed

+2108
-3
lines changed

llvm/include/llvm/SYCLLowerIR/DeviceConfigFile.td

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ def AspectExt_intel_fpga_task_sequence : Aspect<"ext_intel_fpga_task_sequence">;
8282
def AspectExt_oneapi_limited_graph : Aspect<"ext_oneapi_limited_graph">;
8383
def AspectExt_oneapi_private_alloca : Aspect<"ext_oneapi_private_alloca">;
8484
def AspectExt_oneapi_queue_profiling_tag : Aspect<"ext_oneapi_queue_profiling_tag">;
85+
def AspectExt_oneapi_virtual_mem : Aspect<"ext_oneapi_virtual_mem">;
8586
// Deprecated aspects
8687
def AspectInt64_base_atomics : Aspect<"int64_base_atomics">;
8788
def AspectInt64_extended_atomics : Aspect<"int64_extended_atomics">;
@@ -139,7 +140,7 @@ def : TargetInfo<"__TestAspectList",
139140
AspectExt_oneapi_ballot_group, AspectExt_oneapi_fixed_size_group, AspectExt_oneapi_opportunistic_group,
140141
AspectExt_oneapi_tangle_group, AspectExt_intel_matrix, AspectExt_oneapi_is_composite, AspectExt_oneapi_is_component,
141142
AspectExt_oneapi_graph, AspectExt_intel_fpga_task_sequence, AspectExt_oneapi_limited_graph,
142-
AspectExt_oneapi_private_alloca, AspectExt_oneapi_queue_profiling_tag],
143+
AspectExt_oneapi_private_alloca, AspectExt_oneapi_queue_profiling_tag, AspectExt_oneapi_virtual_mem],
143144
[]>;
144145
// This definition serves the only purpose of testing whether the deprecated aspect list defined in here and in SYCL RT
145146
// match.

0 commit comments

Comments
 (0)