Kaydet (Commit) ecacefc0 authored tarafından I-Jui (Ray) Sung's avatar I-Jui (Ray) Sung

GPU Calc: temporarily disable parallel sum reduction

Change-Id: I4995f08805ef23d88dc996a54688b5eed9595e3d
üst 08c68cc1
...@@ -487,7 +487,8 @@ public: ...@@ -487,7 +487,8 @@ public:
if (!bIsStartFixed && !bIsEndFixed) if (!bIsStartFixed && !bIsEndFixed)
{ {
// set 100 as a threshold for invoking reduction kernel // set 100 as a threshold for invoking reduction kernel
if (nCurWindowSize > 100 ) // Ray: temporarily turn off parallel sum reduction
if (false /*nCurWindowSize > 100*/)
{ {
std::string temp = Base::GetName() + "[gid0]"; std::string temp = Base::GetName() + "[gid0]";
ss << "tmp = "; ss << "tmp = ";
...@@ -502,7 +503,8 @@ public: ...@@ -502,7 +503,8 @@ public:
if (bIsStartFixed && bIsEndFixed) if (bIsStartFixed && bIsEndFixed)
{ {
// set 100 as a threshold for invoking reduction kernel // set 100 as a threshold for invoking reduction kernel
if (nCurWindowSize > 100 ) // Ray: temporarily turn off parallel sum reduction
if (false /* nCurWindowSize > 100 */)
{ {
std::string temp = Base::GetName() + "[0]"; std::string temp = Base::GetName() + "[0]";
ss << "tmp = "; ss << "tmp = ";
......
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