diff options
| author | Claudius "keldu" Holeksa <mail@keldu.de> | 2026-02-16 17:51:04 +0100 |
|---|---|---|
| committer | Claudius "keldu" Holeksa <mail@keldu.de> | 2026-02-16 17:51:04 +0100 |
| commit | 17a125cbb9245084b22fa76cd3bc064ee22e3d76 (patch) | |
| tree | 340b565ed198e2f6c930229d17a74bcd4b54cc38 | |
| parent | 395bb98e6fd70d8f70edad21ff381c16a9e45c1f (diff) | |
| download | libs-lbm-17a125cbb9245084b22fa76cd3bc064ee22e3d76.tar.gz | |
Add 3D GPU
| -rw-r--r-- | default.nix | 5 | ||||
| -rw-r--r-- | examples/poiseulle_3d_gpu/sim.cpp | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/default.nix b/default.nix index 706c48f..316ea80 100644 --- a/default.nix +++ b/default.nix @@ -119,6 +119,11 @@ in rec { inherit kel; }; + poiseulle_3d_gpu = pkgs.callPackage ./examples/poiseulle_3d_gpu/.nix/derivation.nix { + inherit pname version stdenv forstio adaptive-cpp; + inherit kel; + }; + cavity_2d = pkgs.callPackage ./examples/cavity_2d/.nix/derivation.nix { inherit pname version stdenv forstio; inherit kel; diff --git a/examples/poiseulle_3d_gpu/sim.cpp b/examples/poiseulle_3d_gpu/sim.cpp index e3305d6..52893a2 100644 --- a/examples/poiseulle_3d_gpu/sim.cpp +++ b/examples/poiseulle_3d_gpu/sim.cpp @@ -18,7 +18,7 @@ constexpr uint64_t particle_size = 128ul; namespace sch { using namespace saw::schema; -using InfoChunk = Chunk<UInt8, 0u, dim_x, dim_y>; +using InfoChunk = Chunk<UInt8, 0u, dim_x, dim_y, dim_z>; template<typename T, typename Desc> using DfChunk = Chunk<FixedArray<T,Desc::Q>, 1u, dim_x, dim_y, dim_z>; |
