Kaydet (Commit) 5556b1ff authored tarafından Jagan Lokanatha's avatar Jagan Lokanatha Kaydeden (comit) Kohei Yoshida

Ensure that when ds_profile is NULL, NATIVE_CPU is selected.

Change-Id: Iab714a296ce0f807b5badd1ff96a99f3da2b24f8
üst 0dfd25c1
...@@ -447,7 +447,7 @@ ds_device getDeviceSelection(const char* sProfilePath, bool bForceSelection) ...@@ -447,7 +447,7 @@ ds_device getDeviceSelection(const char* sProfilePath, bool bForceSelection)
if (!profile) if (!profile)
{ {
// failed to initialize profile. // failed to initialize profile.
selectedDevice.oclDeviceID = NULL; selectedDevice.type = DS_DEVICE_NATIVE_CPU;
return selectedDevice; return selectedDevice;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment