File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1089,8 +1089,8 @@ clfftStatus genSwapKernelGeneral(const FFTGeneratedTransposeNonSquareAction::Sig
10891089
10901090 // std::string funcName = "swap_nonsquare_" + std::to_string(smaller_dim) + "_" + std::to_string(dim_ratio);
10911091 std::string funcName = " swap_nonsquare_" ;
1092- std::string smaller_dim_str = static_cast <std::ostringstream*>(&( std::ostringstream () << smaller_dim))-> str ();
1093- std::string dim_ratio_str = static_cast <std::ostringstream*>(&( std::ostringstream () << dim_ratio))-> str ();
1092+ std::string smaller_dim_str = static_cast <const std::ostringstream&>( std::ostringstream () << smaller_dim). str ();
1093+ std::string dim_ratio_str = static_cast <const std::ostringstream&>( std::ostringstream () << dim_ratio). str ();
10941094 if (params.fft_N [0 ] > params.fft_N [1 ])
10951095 funcName = funcName + smaller_dim_str + " _" + dim_ratio_str;
10961096 else
You can’t perform that action at this time.
0 commit comments