Commit 7295e38d authored by Alan Turner's avatar Alan Turner
Browse files

No commit message

No commit message
parent 61386bf9
...@@ -151,11 +151,13 @@ private: ...@@ -151,11 +151,13 @@ private:
if (ADataType == "int8_t" and BDataType == "int8_t") if (ADataType == "int8_t" and BDataType == "int8_t")
{ {
// Change CBlockTransfer ScalarPerVector if Ds contains other types // Change CBlockTransfer ScalarPerVector if Ds contains other types
if (std::any_of(DsDataType.begin(), DsDataType.end(), [](auto t) { return t == "ck::half_t"; })) if (std::any_of(DsDataType.begin(), DsDataType.end(), [](auto t) { return t == "ck::half_t"; })
or EDataType == "ck::half_t")
{ {
params[params.size() - 3] = "8"; params[params.size() - 3] = "8";
} }
if (std::any_of(DsDataType.begin(), DsDataType.end(), [](auto t) { return t == "float"; })) if (std::any_of(DsDataType.begin(), DsDataType.end(), [](auto t) { return t == "float"; })
or EDataType == "float")
{ {
params[params.size() - 3] = "4"; params[params.size() - 3] = "4";
} }
......
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