@@ -431,14 +431,14 @@ cdef class Memory:
431
431
432
432
cdef class MemoryUSMShared(Memory):
433
433
"""
434
- MemoryUSMShared(nbytes, alignment=0, queue=None, copy=False) allocates nbytes of
434
+ MemoryUSMShared(nbytes, alignment=0, queue=None, copy=False) allocates nbytes of
435
435
USM shared memory.
436
436
437
437
Non-positive alignments are not used (malloc_shared is used instead).
438
438
The queue=None the current `dpctl.get_current_queue()` is used to allocate memory.
439
439
440
- MemoryUSMShared(usm_obj) constructor create instance from `usm_obj` expected to
441
- implement `__sycl_usm_array_interface__` protocol and exposing a contiguous block of
440
+ MemoryUSMShared(usm_obj) constructor create instance from `usm_obj` expected to
441
+ implement `__sycl_usm_array_interface__` protocol and exposing a contiguous block of
442
442
USM memory of USM shared type. Using copy=True to perform a copy if USM type is other
443
443
than 'shared'.
444
444
"""
@@ -463,14 +463,14 @@ cdef class MemoryUSMShared(Memory):
463
463
464
464
cdef class MemoryUSMHost(Memory):
465
465
"""
466
- MemoryUSMHost(nbytes, alignment=0, queue=None, copy=False) allocates nbytes of
466
+ MemoryUSMHost(nbytes, alignment=0, queue=None, copy=False) allocates nbytes of
467
467
USM host memory.
468
468
469
469
Non-positive alignments are not used (malloc_host is used instead).
470
470
The queue=None the current `dpctl.get_current_queue()` is used to allocate memory.
471
471
472
- MemoryUSMDevice(usm_obj) constructor create instance from `usm_obj` expected to
473
- implement `__sycl_usm_array_interface__` protocol and exposing a contiguous block of
472
+ MemoryUSMDevice(usm_obj) constructor create instance from `usm_obj` expected to
473
+ implement `__sycl_usm_array_interface__` protocol and exposing a contiguous block of
474
474
USM memory of USM host type. Using copy=True to perform a copy if USM type is other
475
475
than 'host'.
476
476
"""
@@ -495,14 +495,14 @@ cdef class MemoryUSMHost(Memory):
495
495
496
496
cdef class MemoryUSMDevice(Memory):
497
497
"""
498
- MemoryUSMDevice(nbytes, alignment=0, queue=None, copy=False) allocates nbytes of
498
+ MemoryUSMDevice(nbytes, alignment=0, queue=None, copy=False) allocates nbytes of
499
499
USM device memory.
500
500
501
501
Non-positive alignments are not used (malloc_device is used instead).
502
502
The queue=None the current `dpctl.get_current_queue()` is used to allocate memory.
503
503
504
- MemoryUSMDevice(usm_obj) constructor create instance from `usm_obj` expected to
505
- implement `__sycl_usm_array_interface__` protocol and exposing a contiguous block of
504
+ MemoryUSMDevice(usm_obj) constructor create instance from `usm_obj` expected to
505
+ implement `__sycl_usm_array_interface__` protocol and exposing a contiguous block of
506
506
USM memory of USM device type. Using copy=True to perform a copy if USM type is other
507
507
than 'device'.
508
508
"""
0 commit comments