pystencils.backend.platforms.SyclPlatform#
- class pystencils.backend.platforms.SyclPlatform(ctx, automatic_block_size=False)#
- Parameters:
ctx (KernelCreationContext)
automatic_block_size (bool)
- 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.
- materialize_iteration_space(body, ispace)#
Materialize the given iteration space as an indexing structure and embed the given kernel body into that structure.
- Return type:
- Parameters:
body (PsBlock)
ispace (IterationSpace)
- select_function(call)#
Select an implementation for the given function on the given data type.
If no viable implementation exists, raise a
MaterializationError
.- Return type:
- Parameters:
call (PsCall)