Commit 84c5bec1 authored by Alan Turner's avatar Alan Turner
Browse files

Reduce scalars per vector for non-int8 return type

parent 7020930a
......@@ -101,12 +101,12 @@ Solution Problem::MakeSolution(std::size_t idx, const std::string& arch) const
if(ADataType == DataType::Int8 and BDataType == DataType::Int8)
{
// Change CBlockTransfer ScalarPerVector if Ds contains other types
if(std::any_of(
if(EDataType == DataType::Half or std::any_of(
DsDataType.begin(), DsDataType.end(), [](auto t) { return t == DataType::Half; }))
{
params[params.size() - 3] = "8";
}
if(std::any_of(
if(EDataType == DataType::Float or std::any_of(
DsDataType.begin(), DsDataType.end(), [](auto t) { return t == DataType::Float; }))
{
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