Open kaigai opened 2 months ago
https://docs.nvidia.com/cuda/parallel-thread-execution/index.html#stack-manipulation-instructions
stacksave
命令で現在のスタックポインタを取得する事ができる。
初期値 0x0100 0000
から段々と減っていく感じだが、GPU間での差異は?
fd4c07d7c36dc190d9ab99b3d56d5d3b2bcd9405
でCUDA Stack Frameの利用チェックを導入。しかし、PostGISのロジックの中にエラーとbool値判定で区別していない部分が少なからず残っているので、必ずしも fallback に落ちてくれるわけではない。
812の問題を調査中、再帰呼出しのやりすぎでstack frameの使い果たしが発生。
再帰呼出しの場合にスタック使用量をチェックする仕組みが必要。 LIKE句でも同様。