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
New descriptors added as part of this specification are found in the table below:
160
+
161
+
| Descriptor | Description |
162
+
| ---------- | ----------- |
163
+
|`sycl::ext::oneapi::level_zero::info::device::free_memory`| Returns the number of bytes of free memory for the device. |
164
+
165
+
166
+
#### 5.1.1 Free Memory Query Details
150
167
151
168
```C++
152
169
namespacesycl{
@@ -168,15 +185,6 @@ struct free_memory {
168
185
} // namespace sycl
169
186
```
170
187
171
-
The new struct ```free_memory``` is used in conjuction with the ```get_backend_info()``` method of the ```device``` class in SYCL 2020. The query will return the number of bytes of free memory for that device.
0 commit comments