1 # RUN: yaml2obj %s | obj2yaml | FileCheck %s
6 - ImageKind: IMG_Object
7 OffloadKind: OFK_OpenMP
8 - ImageKind: IMG_Bitcode
10 - ImageKind: IMG_Cubin
12 - ImageKind: IMG_Fatbinary
18 # CHECK-NEXT: Members:
19 # CHECK-NEXT: - ImageKind: IMG_None
20 # CHECK-NEXT: OffloadKind: OFK_None
21 # CHECK-NEXT: Flags: 0
22 # CHECK-NEXT: - ImageKind: IMG_Object
23 # CHECK-NEXT: OffloadKind: OFK_OpenMP
24 # CHECK-NEXT: Flags: 0
25 # CHECK-NEXT: - ImageKind: IMG_Bitcode
26 # CHECK-NEXT: OffloadKind: OFK_Cuda
27 # CHECK-NEXT: Flags: 0
28 # CHECK-NEXT: - ImageKind: IMG_Cubin
29 # CHECK-NEXT: OffloadKind: OFK_HIP
30 # CHECK-NEXT: Flags: 0
31 # CHECK-NEXT: - ImageKind: IMG_Fatbinary
32 # CHECK-NEXT: OffloadKind: OFK_None
33 # CHECK-NEXT: Flags: 0
34 # CHECK-NEXT: - ImageKind: IMG_PTX
35 # CHECK-NEXT: OffloadKind: OFK_None
36 # CHECK-NEXT: Flags: 0
37 # CHECK-NEXT: - ImageKind: 0x3E7
38 # CHECK-NEXT: OffloadKind: 0x3E7
39 # CHECK-NEXT: Flags: 0