@@ -377,7 +377,7 @@ cdef class DeviceProperties:
377377
378378 @property
379379 def gpu_overlap(self ) -> bool:
380- """bool: Device can possibly copy memory and execute a kernel concurrently. Deprecated. Use instead async_engine_count."""
380+ """bool: Device can possibly copy memory and execute a kernel concurrently. Deprecated. Use :attr:`~DeviceProperties. async_engine_count` instead ."""
381381 return bool(self._get_cached_attribute(driver.CUdevice_attribute.CU_DEVICE_ATTRIBUTE_GPU_OVERLAP ))
382382
383383 @property
@@ -662,7 +662,7 @@ cdef class DeviceProperties:
662662
663663 @property
664664 def read_only_host_register_supported(self ) -> bool:
665- """bool: True if device supports using the cuMemHostRegister flag CU_MEMHOSTERGISTER_READ_ONLY to register memory that must be mapped as read-only to the GPU , False if not."""
665+ """bool: True if device supports using the cuMemHostRegister flag CU_MEMHOSTREGISTER_READ_ONLY to register memory that must be mapped as read-only to the GPU , False if not."""
666666 return bool(
667667 self._get_cached_attribute(driver.CUdevice_attribute.CU_DEVICE_ATTRIBUTE_READ_ONLY_HOST_REGISTER_SUPPORTED )
668668 )
@@ -841,12 +841,12 @@ cdef class DeviceProperties:
841841
842842 @property
843843 def mem_decompress_algorithm_mask(self ) -> int:
844- """int: The returned valued shall be interpreted as a bitmask , where the individual bits are described by the CUmemDecompressAlgorithm enum."""
844+ """int: The returned value shall be interpreted as a bitmask , where the individual bits are described by the CUmemDecompressAlgorithm enum."""
845845 return self._get_cached_attribute(driver.CUdevice_attribute.CU_DEVICE_ATTRIBUTE_MEM_DECOMPRESS_ALGORITHM_MASK )
846846
847847 @property
848848 def mem_decompress_maximum_length(self ) -> int:
849- """int: The returned valued is the maximum length in bytes of a single decompress operation that is allowed."""
849+ """int: The returned value is the maximum length in bytes of a single decompress operation that is allowed."""
850850 return self._get_cached_attribute(driver.CUdevice_attribute.CU_DEVICE_ATTRIBUTE_MEM_DECOMPRESS_MAXIMUM_LENGTH )
851851
852852 @property
@@ -897,7 +897,7 @@ cdef class DeviceProperties:
897897
898898 @property
899899 def host_memory_pools_supported(self ) -> bool:
900- """bool: Device suports HOST location with the cuMemAllocAsync and cuMemPool family of APIs."""
900+ """bool: Device supports HOST location with the cuMemAllocAsync and cuMemPool family of APIs."""
901901 return bool(
902902 self._get_cached_attribute(driver.CUdevice_attribute.CU_DEVICE_ATTRIBUTE_HOST_MEMORY_POOLS_SUPPORTED )
903903 )
@@ -1033,7 +1033,7 @@ class Device:
10331033 Parameters
10341034 ----------
10351035 peer : Device | int
1036- The peer device to check accessibility to. Can be a Device object or device ID.
1036+ The peer device to check accessibility to. Can be a :obj:`~_device. Device` object or device ID.
10371037 """
10381038 peer = Device(peer)
10391039 cdef int d1 = < int > self .device_id
@@ -1253,7 +1253,7 @@ class Device:
12531253
12541254 Note
12551255 ----
1256- The newly context will not be set as current.
1256+ The newly created context will not be set as current.
12571257
12581258 Parameters
12591259 ----------
@@ -1269,7 +1269,7 @@ class Device:
12691269 raise NotImplementedError("WIP: https://github.com/NVIDIA/cuda-python/issues/189")
12701270
12711271 def create_stream(self , obj: IsStreamT | None = None , options: StreamOptions | None = None ) -> Stream:
1272- """Create a Stream object.
1272+ """Create a :obj:`~_stream. Stream` object.
12731273
12741274 New stream objects can be created in two different ways:
12751275
@@ -1300,7 +1300,7 @@ class Device:
13001300 return Stream._init(obj = obj, options = options, device_id = self ._device_id, ctx = self ._context)
13011301
13021302 def create_event(self , options: EventOptions | None = None ) -> Event:
1303- """Create an Event object without recording it to a Stream.
1303+ """Create an :obj:`~_event. Event` object without recording it to a :obj:`~_stream. Stream` .
13041304
13051305 Note
13061306 ----
0 commit comments