Commit a903a38
committed
GPU: add METAL to the device type enumeration
Purely additive: a new DeviceType value and its name. GetDeviceType() walks
DEVICE_TYPE_NAMES, so the table is the only other place that needs to know.
The name table is excluded under __METAL__ for the same reason it is under
__OPENCL__ -- no host strings in device code.1 parent a44ed8d commit a903a38
1 file changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
| 35 | + | |
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
60 | | - | |
61 | | - | |
| 60 | + | |
| 61 | + | |
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
| |||
0 commit comments