File tree Expand file tree Collapse file tree 1 file changed +12
-12
lines changed Expand file tree Collapse file tree 1 file changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -38,12 +38,12 @@ DPCTL_C_EXTERN_C_BEGIN
38
38
enum DPCTLSyclBackendType
39
39
{
40
40
// clang-format off
41
- DPCTL_CUDA = 1 << 13 ,
42
- DPCTL_HOST = 1 << 14 ,
43
- DPCTL_LEVEL_ZERO = 1 << 15 ,
44
- DPCTL_OPENCL = 1 << 16 ,
41
+ DPCTL_CUDA = 1 << 16 ,
42
+ DPCTL_HOST = 1 << 17 ,
43
+ DPCTL_LEVEL_ZERO = 1 << 18 ,
44
+ DPCTL_OPENCL = 1 << 19 ,
45
45
DPCTL_UNKNOWN_BACKEND = 0 ,
46
- DPCTL_ALL_BACKENDS = ((1 <<10 )-1 ) << 7
46
+ DPCTL_ALL_BACKENDS = ((1 <<5 )-1 ) << 16
47
47
// clang-format on
48
48
};
49
49
@@ -57,13 +57,13 @@ enum DPCTLSyclDeviceType
57
57
// The values should not overlap.
58
58
59
59
// clang-format off
60
- DPCTL_ACCELERATOR = 1 << 1 ,
61
- DPCTL_AUTOMATIC = 1 << 2 ,
62
- DPCTL_CPU = 1 << 3 ,
63
- DPCTL_CUSTOM = 1 << 4 ,
64
- DPCTL_GPU = 1 << 5 ,
65
- DPCTL_HOST_DEVICE = 1 << 6 ,
66
- DPCTL_ALL = (1 << 7 ) -1 ,
60
+ DPCTL_ACCELERATOR = 1 << 0 ,
61
+ DPCTL_AUTOMATIC = 1 << 1 ,
62
+ DPCTL_CPU = 1 << 2 ,
63
+ DPCTL_CUSTOM = 1 << 3 ,
64
+ DPCTL_GPU = 1 << 4 ,
65
+ DPCTL_HOST_DEVICE = 1 << 5 ,
66
+ DPCTL_ALL = (1 << 6 ) - 1 ,
67
67
DPCTL_UNKNOWN_DEVICE = 0
68
68
// clang-format on
69
69
};
You can’t perform that action at this time.
0 commit comments