From 5c708bb3a0c9faec82a0deb32478370f9d780ea8 Mon Sep 17 00:00:00 2001 From: "Claudius \"keldu\" Holeksa" Date: Mon, 9 Nov 2026 15:13:37 +0100 Subject: Throat Clog is shit --- examples/throat_clog_2d/common.hpp | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'examples/throat_clog_2d/common.hpp') 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 { -- cgit v1.3.1