@@ -287,17 +287,6 @@ ${x}QueueRetain. An application must call ${x}QueueRelease
287
287
when a queue object is no longer needed. When a queue object's reference count becomes
288
288
zero, it is deleted by the runtime.
289
289
290
- Native Driver Access
291
- ----------------------------------
292
-
293
- The runtime API provides accessors for native handles.
294
- For example, given a ${x}_program_handle_t, we can
295
- call ${x}ProgramGetNativeHandle to retrieve a ${x}_native_handle_t.
296
- We can then leverage a platform extension to convert the
297
- native handle to a driver handle. For example, OpenCL platform
298
- may expose an extension ${x}ProgramCreateWithNativeHandle to retrieve
299
- a cl_program.
300
-
301
290
Memory
302
291
======
303
292
@@ -361,10 +350,9 @@ Native Handle Ownership
361
350
-----------------------
362
351
363
352
By default a ${X} object constructed from a native handle doesn't own the
364
- native handle, it is guaranteed not to modify the native handle's reference
365
- count or otherwise cause its resources to be released. A ${X} object that
366
- doesn't own its associated native handle **must ** be destroyed before the
367
- native handle is.
353
+ native handle, it is guaranteed not to retain a reference to the native handle,
354
+ or cause its resources to be released. A ${X} object that doesn't own its
355
+ associated native handle **must ** be destroyed before the native handle is.
368
356
369
357
Ownership of the native handle can be tranferred to the ${X} object by passing
370
358
``isNativeHandleOwned = true `` in the native properties struct when calling the
0 commit comments