Coder Social home page Coder Social logo

Comments (3)

kaigai avatar kaigai commented on August 22, 2024

bd172cd964557176b49f849b55350d250a9bdb9c にて修正しています。

ただし、これは長大可変長データを触ろうとしたために CPU Fallback が発生し、
その CPU Fallback の実装に問題があったためのエラーです。

#641も同じく CPU Fallback 関連のもので、こちらは GpuPreAgg が起点になっているので
少し異なります。明日、その辺は修正します。

from pg-strom.

sakaik avatar sakaik commented on August 22, 2024

最新版で、当クエリのエラーが発生しなくなったことを確認しました。
CPU fallbackが起きたことがNOTICEメッセージで分かるのが良いですね。

sakaitest_nvme5=# SELECT geom, COUNT(*)
FROM japan_cities
WHERE geom IS NOT NULL
GROUP BY geom
LIMIT 10;
NOTICE:  (xpu_postgis.cu:397) CPU fallback due to geometry datum is compressed or external [xpu_geometry_datum_ref]

geom                                | count 
------------------------------------+---------
(snip)
(10 rows)

確認バージョン:

sakaitest_nvme5=# SELECT pgstrom.githash();
                 githash                  
------------------------------------------
 bd172cd964557176b49f849b55350d250a9bdb9c

from pg-strom.

kaigai avatar kaigai commented on August 22, 2024

SET pg_strom.cpu_fallback = on; でNOTICEは抑止できます。

SET pg_strom.cpu_fallback = off; ならエラーで止めます。

という感じですね。基本的には、CPU Fallbackが発生するのはあまり良い状況ではないのですが…。

from pg-strom.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.