pystencils.backend.platforms.HipPlatform

pystencils.backend.platforms.HipPlatform#

class pystencils.backend.platforms.HipPlatform(ctx, indexing_rank, default_block_size, *, assume_warp_aligned_block_size=False, warp_size=None, use_cub_reductions=False)#

Platform for the HIP GPU target.

Parameters:
property required_headers: set[str]#

Set of header files that must be included at the point of definition of a kernel running on this platform.