diff options
| author | Claudius "keldu" Holeksa <mail@keldu.de> | 2026-11-09 15:13:37 +0100 |
|---|---|---|
| committer | Claudius "keldu" Holeksa <mail@keldu.de> | 2026-11-09 15:13:37 +0100 |
| commit | 5c708bb3a0c9faec82a0deb32478370f9d780ea8 (patch) | |
| tree | a695ebee03e0065005688f22a54369df48b6ca42 /examples/throat_clog_2d/common.hpp | |
| parent | ff88ea49eca3961e1aa4194944b93a3bfbf3d3d8 (diff) | |
| download | libs-lbm-5c708bb3a0c9faec82a0deb32478370f9d780ea8.tar.gz | |
Throat Clog is shit
Diffstat (limited to 'examples/throat_clog_2d/common.hpp')
| -rw-r--r-- | examples/throat_clog_2d/common.hpp | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/examples/throat_clog_2d/common.hpp b/examples/throat_clog_2d/common.hpp index d74b2f9..84baeb3 100644 --- a/examples/throat_clog_2d/common.hpp +++ b/examples/throat_clog_2d/common.hpp @@ -22,10 +22,15 @@ namespace lbm { */ // Base resolution. -constexpr uint64_t dim_y = 64ul; +// +// Kept small on purpose: the SYCL JIT has to compile the whole kernel set +// before the first step runs, and on a modest machine a large domain plus a +// large particle set will exhaust memory during that compile rather than +// during the simulation itself. +constexpr uint64_t dim_y = 32ul; constexpr uint64_t dim_x = dim_y * 4ul; -constexpr uint64_t particle_amount = 1ul; +constexpr uint64_t particle_amount = 20ul; namespace sch { |
