Skip to content

Commit 18531bd

Browse files
FPGA: Drop OpenCL UUID bitstream validation
Signed-off-by: Elias Koromilas <[email protected]>
1 parent 7f8bebd commit 18531bd

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

pkg/fpga/bitstream/aocx.go

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -172,10 +172,11 @@ func parseFpgaBin(d []byte) (*FileGBS, error) {
172172
return nil, err
173173
}
174174

175-
if afuUUID := g.AcceleratorTypeUUID(); afuUUID != OpenCLUUID {
176-
g.Close()
177-
return nil, errors.Errorf("incorrect OpenCL BSP AFU UUID (%s)", afuUUID)
178-
}
175+
// TODO: update OpenCLUUIDs and check against them
176+
// if afuUUID := g.AcceleratorTypeUUID(); afuUUID != OpenCLUUID {
177+
// g.Close()
178+
// return nil, errors.Errorf("incorrect OpenCL BSP AFU UUID (%s)", afuUUID)
179+
// }
179180

180181
return g, nil
181182
}

0 commit comments

Comments
 (0)