Skip to content

Commit 28a152f

Browse files
committed
Apply CR changes
1 parent bf270fc commit 28a152f

File tree

1 file changed

+13
-16
lines changed

1 file changed

+13
-16
lines changed

sycl/include/sycl/ext/oneapi/experimental/device_architecture.hpp

Lines changed: 13 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -32,30 +32,29 @@ enum class architecture : uint64_t {
3232
// Important note about keeping architecture IDs below unique:
3333
// - the architecture ID must be a hex number with 16 digits
3434
// - the architecture ID must suit the following template:
35-
// 0x AA BBBBBBBBBBBB CC (without spaces), where
36-
// - AA is 2-digit ID of category which must be unique
37-
// - BBBBBBBBBBBB is 12-digit number of architecture itself. It must be
38-
// unique for all architectures inside the category
39-
// - CC is 2-digit number reserved for future unexpected modifications
35+
// 0x AA BBBB CCCCCCCC DD (without spaces), where
36+
// - AA is 2-digit ID of the architecture family which must be unique
37+
// - BBBB is 4-digit number reserved for future modifications
38+
// to keep uniqueness. It should be always 0000 for now
39+
// - CCCCCCCC is 8-digit number of architecture itself. It must be
40+
// unique for all architectures inside the family
41+
// - DD is 2-digit number reserved for future unexpected modifications
4042
// to keep uniqueness. It should be always 00 for now
4143
//
4244
x86_64 = 0x9900000000000000,
4345
//
4446
// Intel CPU architectures
4547
//
46-
// AAAA is 03,
47-
// BBBBBBBBBBBB is the architecture ID from the DEVICE_IP_VERSION extension of
48-
// underlied backend,
49-
// CC is 00
48+
// AA is 03,
49+
// CCCCCCCC is the architecture ID from the DEVICE_IP_VERSION extension of
50+
// underlied backend
5051
intel_cpu_spr = 0x0300000000000800,
5152
intel_cpu_gnr = 0x0300000000000900,
5253
//
5354
// Intel GPU architectures
5455
//
5556
// AA is 00,
56-
// BBBBBBBBBBBB is GMDID of that architecture (4 zeros + 8-digit GMDID
57-
// itself),
58-
// CC is 00
57+
// CCCCCCCC is GMDID of that architecture
5958
intel_gpu_bdw = 0x0000000200000000,
6059
intel_gpu_skl = 0x0000000240000900,
6160
intel_gpu_kbl = 0x0000000240400900,
@@ -88,8 +87,7 @@ enum class architecture : uint64_t {
8887
// NVIDIA architectures
8988
//
9089
// AA is 01,
91-
// BBBBBBBBBBBB is the SM version ID of that architecture,
92-
// CC is 00
90+
// CCCCCCCC is the SM version ID of that architecture
9391
nvidia_gpu_sm_50 = 0x0100000000005000,
9492
nvidia_gpu_sm_52 = 0x0100000000005200,
9593
nvidia_gpu_sm_53 = 0x0100000000005300,
@@ -108,8 +106,7 @@ enum class architecture : uint64_t {
108106
// AMD architectures
109107
//
110108
// AA is 02,
111-
// BBBBBBBBBBBB is the GFX version ID of that architecture,
112-
// CC is 00
109+
// CCCCCCCC is the GFX version ID of that architecture
113110
amd_gpu_gfx700 = 0x0200000000070000,
114111
amd_gpu_gfx701 = 0x0200000000070100,
115112
amd_gpu_gfx702 = 0x0200000000070200,

0 commit comments

Comments
 (0)