Toggle table of contents sidebar
SYCL* and numba-dpex Feature Comparison¶The numba-dpex kernel API is developed with the aim of providing a SYCL*-like kernel programming features directly in Python. The page provides a summary of the SYCL* kernel programming features that are currently supported in numba-dpex’s kernel API.
Numba-dpex does not implement wrappers or analogues of SYCL’s host-callable runtime API. Such features are provided by the dpctl
package.
SYCL* class
numba-dpex class
Notes
reduction
Not supported
reducer
Not supported
On-device memory allocation¶SYCL* class
numba-dpex class
Notes
local_accessor
numba_dpex.kernel_api.LocalAccessor
private_memory
Not supported as there is no corresponding API in numba-dpex for group::parallel_for_work_item
or parallel_for_work_group
.
Allocating variables on a work-item’s private memory can be done using numba_dpex.kernel_api.PrivateMemory
.
Constant memory
SYCL 2020 no longer defines a constant memory region in the device memory model specification and as such the feature is not implemented by numba-dpex.
Global memory
Global memory allocation is not handled by numba-dpex and the kernel argument is expected to have allocated memory on a device’s global memory region using a USM allocators. Such allocators are provided by the dpctl
package.
SYCL* group function
numba-dpex function
Notes
group_broadcast
Not supported
group_barrier
numba_dpex.kernel_api.group_barrier()
group_barrier does not support synchronization across a sub-group.
Group algorithms¶SYCL* group algorithm
numba-dpex function
Notes
joint_any_of
Not supported
joint_all_of
Not supported
joint_none_of
Not supported
any_of_group
Not supported
all_of_group
Not supported
none_of_group
Not supported
shift_group_left
Not supported
shift_group_right
Not supported
permute_group_by_xor
Not supported
select_from_group
Not supported
joint_reduce
Not supported
reduce_over_group
Not supported
joint_exclusive_scan
Not supported
joint_inclusive_scan
Not supported
exclusive_scan_over_group
Not supported
inclusive_scan_over_group
Not supported
Math functions¶SYCL* math function category
numba-dpex
Notes
Math functions
Refer the kernel programming guide for list of supported functions.
Half and reduced precision math functions
Not supported
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4