dpctl.program.SyclKernel¶
- class dpctl.program.SyclKernel¶
Methods
__init__()addressof_ref()Returns the address of the C API
DPCTLSyclKernelRefpointer as asize_t.get_function_name()Returns the name of the
sycl::kernelfunction.get_num_args()Returns the number of arguments for this kernel function.
Attributes
compile_num_sub_groupsReturns the number of sub-groups specified by this kernel, or 0 (if not specified).
compile_sub_group_sizeReturns the required sub-group size specified by this kernel, or 0 (if not specified).
max_num_sub_groupsReturns the maximum number of sub-groups for this kernel.
max_sub_group_sizeReturns the maximum sub-groups size for this kernel.
num_argsProperty equivalent to method call SyclKernel.get_num_args()
preferred_work_group_size_multipleReturns a value, of which work-group size is preferred to be a multiple, for executing the kernel on the device it was built for.
private_mem_sizeReturns the minimum amount of private memory, in bytes, used by each work-item in the kernel.
work_group_sizeReturns the maximum number of work-items in a work-group that can be used to execute the kernel on device it was built for.