[DF-4343] fix compilation warning
[DF-4346] get gpu type
[DF-4346] review fix