Skip to content

Commit c08b1b3

Browse files
authored
Match DeviceType to cl.h values (#227)
1 parent eac3a2c commit c08b1b3

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

vcl/device.c.v

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,11 @@ module vcl
22

33
pub enum DeviceType as i64 {
44
// device types - bitfield
5-
cpu = (1 << 0)
6-
gpu = (1 << 1)
7-
accelerator = (1 << 2)
5+
default = (1 << 0)
6+
cpu = (1 << 1)
7+
gpu = (1 << 2)
8+
accelerator = (1 << 3)
9+
custom = (1 << 4)
810
all = 0xFFFFFFFF
911
}
1012

0 commit comments

Comments
 (0)