You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: sycl/doc/extensions/experimental/sycl_ext_intel_runtime_buffer_location.asciidoc
+19-6Lines changed: 19 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -48,9 +48,12 @@ specification.*
48
48
49
49
== Overview
50
50
51
-
This document propose a new buffer_location runtime property that can be passed to `malloc_device`.
51
+
This document propose a new buffer_location runtime property that can be
52
+
passed to `malloc_device`.
52
53
53
-
On targets that provide more than one type of global memory, this provide users the flexibility of choosing which memory the device usm should be allocated to.
54
+
On targets that provide more than one type of global memory, this provide
55
+
users the flexibility of choosing which memory the device usm should be
This extension adds the new property `sycl::ext::intel::experimental::property::usm::buffer_location` which applications can pass in the property_list parameter to all overloads of the `sycl::malloc_device()`, `sycl::malloc_shared()`, and `sycl::malloc_host()` functions. However, this property has no effect when passed to `sycl::malloc_shared()` or `sycl::malloc_host()`. Following is a synopsis of this property.
97
+
This extension adds the new property
98
+
`sycl::ext::intel::experimental::property::usm::buffer_location` which
99
+
applications can pass in the property_list parameter to all overloads of the
100
+
`sycl::malloc_device()`, `sycl::malloc_shared()`, and `sycl::malloc_host()`
101
+
functions. However, this property has no effect when passed to
102
+
`sycl::malloc_shared()` or `sycl::malloc_host()`. Following is a synopsis of
On targets that provide more than one type of global memory, `buffer_location` allows user to specify which of the global memory to allocate memory to. This provide user the flexibility to choose the global memory that satisfy requirements for bandwidth and throughput.
118
+
On targets that provide more than one type of global memory, `buffer_location`
119
+
allows user to specify which of the global memory to allocate memory to. This
120
+
provide user the flexibility to choose the global memory that satisfy
121
+
requirements for bandwidth and throughput.
110
122
111
-
This property is ignored for non-FPGA devices. Attempting to use this extension on other devices or backends will result in no effect.
123
+
This property is ignored for non-FPGA devices. Attempting to use this
124
+
extension on other devices or backends will result in no effect.
112
125
113
126
114
127
== Issues
@@ -120,5 +133,5 @@ This property is ignored for non-FPGA devices. Attempting to use this extension
0 commit comments