Commit fa7e0c51 authored by illsilin's avatar illsilin
Browse files

fix the logic

parent 4f6593af
......@@ -595,8 +595,8 @@ struct DeviceContractionMultipleD_Xdl_CShuffle
return false;
}
if((ck::get_device_name() != "gfx90a" || ck::get_device_name() != "gfx940" ||
ck::get_device_name() != "gfx941" || ck::get_device_name() != "gfx942") &&
if(ck::get_device_name() != "gfx90a" && ck::get_device_name() != "gfx940" &&
ck::get_device_name() != "gfx941" && ck::get_device_name() != "gfx942" &&
std::is_same<ADataType, double>::value)
{
return false;
......
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