Commit 1597574a authored by i-bird's avatar i-bird

Fixing SparseGridGPU for 80

parent 5d5e36df
Pipeline #2654 failed with stages
in 11 minutes and 34 seconds
...@@ -2961,18 +2961,22 @@ public: ...@@ -2961,18 +2961,22 @@ public:
RestorePackVariableIfKeepGeometry(opt,is_pack_remote); RestorePackVariableIfKeepGeometry(opt,is_pack_remote);
if (pack_subs.size() <= 32) if (pack_subs.size() <= 32)
{ {
pack_sg_implement<32,prp...>(mem,sts,opt,is_pack_remote); pack_sg_implement<32,prp...>(mem,sts,opt,is_pack_remote);
} }
else if (pack_subs.size() <= 64) else if (pack_subs.size() <= 64)
{ {
pack_sg_implement<64, prp...>(mem,sts,opt,is_pack_remote); pack_sg_implement<64, prp...>(mem,sts,opt,is_pack_remote);
} }
else else if (pack_subs.size() <= 80)
{ {
std::cout << __FILE__ << ":" << __LINE__ << " error no implementation available of packCalculate, create a new case for " << pack_subs.size() << std::endl; pack_sg_implement<80, prp...>(mem,sts,opt,is_pack_remote);
} }
else
{
std::cout << __FILE__ << ":" << __LINE__ << " error no implementation available of packCalculate, create a new case for " << pack_subs.size() << std::endl;
}
savePackVariableIfNotKeepGeometry(opt,is_pack_remote); savePackVariableIfNotKeepGeometry(opt,is_pack_remote);
} }
......
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