Kaydet (Commit) 04a28401 authored tarafından fengzeng's avatar fengzeng Kaydeden (comit) I-Jui (Ray) Sung

GPU Calc: Optimized EXP

AMLOEXT-271

Change-Id: I61eaa744d8b4f10804254c6cede39af274c150ad
Signed-off-by: 's avatarhaochen <haochen@multicorewareinc.com>
Signed-off-by: 's avatarWei Wei <weiwei@multicorewareinc.com>
Signed-off-by: 's avatarI-Jui (Ray) Sung <ray@multicorewareinc.com>
üst 160d5e54
...@@ -702,7 +702,7 @@ void OpExp::GenSlidingWindowFunction(std::stringstream &ss, ...@@ -702,7 +702,7 @@ void OpExp::GenSlidingWindowFunction(std::stringstream &ss,
ss<<"))\n\t\t"; ss<<"))\n\t\t";
ss<<"arg0 = 0;\n\t"; ss<<"arg0 = 0;\n\t";
#endif #endif
ss << "double tmp=exp(arg0);\n\t"; ss << "double tmp = pow(M_E, arg0);\n\t";
ss << "return tmp;\n"; ss << "return tmp;\n";
ss << "}"; ss << "}";
} }
......
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