pystencils.codegen.gpu_indexing.HardwareProperties

pystencils.codegen.gpu_indexing.HardwareProperties#

class pystencils.codegen.gpu_indexing.HardwareProperties(warp_size, max_threads_per_block, max_block_sizes)#
Parameters:
block_size_exceeds_hw_limits(block_size)#

Checks if provided block size conforms limits given by the hardware.

Return type:

bool

Parameters:

block_size (tuple[int, ...])