CUDA* to SYCL* Term Mapping Quick Reference#
This quick reference maps common CUDA* terms to SYCL* terms, to help start the migration process.
Architecture Terminology Mapping#
CUDA Capable GPU |
SYCL Capable GPU from Intel |
|
---|---|---|
Xe-LP and prior generations |
Xe-HPG and Xe-HPC |
|
CUDA Core |
Execution Unit (EU) |
Vector Engine & Matrix Engine (XVE & XMX) |
Streaming Multiprocessor (SM) |
Subslice(SS) or Dual Subslice(DSS) |
Xe-Core |
Processor Clusters (PC) |
Slice |
Xe-Slice |
N/A |
N/A |
Xe-Stack |
Execution Model Mapping#
CUDA |
SYCL |
---|---|
Thread |
Work-item |
Warp |
Sub-group |
Block |
Work-group |
Grid |
ND-range |
Memory Model Mapping#
CUDA |
SYCL |
---|---|
Register |
Private memory |
Shared memory |
Local memory |
Constant memory |
N/A |
Global memory |
Global memory |
Memory Specifier Mapping#
CUDA |
SYCL |
---|---|
|
N/A |
|
N/A |
|
N/A |
|
N/A |
Function Execution Space Specifiers Mapping#
CUDA |
SYCL |
---|---|
|
Not required |
|
Not required |
|
Not required |
Mapping of Key Host Type Used to Offload Task#
CUDA |
SYCL |
---|---|
device |
|
stream |
|
event |
|
Kernel Execution Configures Mapping#
CUDA |
SYCL |
---|---|
|
|
|
|
Built-In Execution Space Index Mapping#
CUDA |
SYCL |
---|---|
|
|
|
|
|
|
|
|
|
|