Skip to content

Commit e673ca9

Browse files
authored
Merge pull request #1643 from eliaskoromilas/main
FPGA: Drop OpenCL UUID bitstream validation
2 parents 7a084f7 + 18531bd commit e673ca9

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

pkg/fpga/bitstream/aocx.go

+5-4
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)