Fix HSAIL build
Change-Id: I34209b3ae0ce0eefc30e464fd7f081a0b62449b0
This commit is contained in:
1 parent
0dc47d55d2
commit
7bb671fa55
1 file changed
+2
-2
@@ -288,8 +288,8 @@ bool NullDevice::init() {
|
||||
bool isOnline = false;
|
||||
// Check if the particular device is online
|
||||
for (unsigned int i = 0; i < devices.size(); i++) {
|
||||
if (static_cast<NullDevice*>(devices[i])->deviceInfo_.hsaDeviceId_ ==
|
||||
DeviceInfo[id].hsaDeviceId_) {
|
||||
if (::strcmp(static_cast<NullDevice*>(devices[i])->deviceInfo_.machineTarget_,
|
||||
DeviceInfo[id].machineTarget_) == 0) {
|
||||
isOnline = true;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user