Total amount of shared memory per block in bytes. Returns device value for CUDA, ROCm, OpenCL, and Vulkan. Returns remote device value for RPC devices. Returns None for all other devices. Returns ------- max_shared_memory_per_block : int or None
(self)
| 85 | |
| 86 | @property |
| 87 | def max_shared_memory_per_block(self): |
| 88 | """Total amount of shared memory per block in bytes. |
| 89 | |
| 90 | Returns device value for CUDA, ROCm, OpenCL, and Vulkan. |
| 91 | Returns remote device value for RPC devices. Returns None for |
| 92 | all other devices. |
| 93 | |
| 94 | Returns |
| 95 | ------- |
| 96 | max_shared_memory_per_block : int or None |
| 97 | Total amount of shared memory per block in bytes |
| 98 | |
| 99 | """ |
| 100 | return self._GetDeviceAttr(self.dlpack_device_type(), self.index, 3) |
| 101 | |
| 102 | @property |
| 103 | def compute_version(self): |
nothing calls this directly
no test coverage detected