dpctl.compiler.SyclKernel¶
- class dpctl.compiler.SyclKernel¶
Methods
__init__()addressof_ref()Returns the address of the C API
DPCTLSyclKernelRefpointer as asize_t.compile_num_sub_groups([device])Returns the number of sub-groups specified by this kernel, or 0 (if not specified).
compile_sub_group_size([device])Returns the required sub-group size specified by this kernel, or 0 (if not specified).
get_function_name()Returns the name of the
sycl::kernelfunction.get_num_args()Returns the number of arguments for this kernel function.
max_num_sub_groups([device])Returns the maximum number of sub-groups for this kernel on the device.
max_sub_group_size([device])Returns the maximum sub-group size for this kernel on the device.
preferred_work_group_size_multiple([device])Returns a value, of which work-group size is preferred to be a multiple, for executing the kernel on the device.
private_mem_size([device])Returns the minimum amount of private memory, in bytes, used by each work-item in the kernel on the device.
work_group_size([device])Returns the maximum number of work-items in a work-group that can be used to execute the kernel on the device.
Attributes
num_argsProperty equivalent to method call SyclKernel.get_num_args()