diff options
| author | Claudius "keldu" Holeksa <mail@keldu.de> | 2026-04-14 21:09:42 +0200 |
|---|---|---|
| committer | Claudius "keldu" Holeksa <mail@keldu.de> | 2026-04-14 21:09:42 +0200 |
| commit | c61ba8f8eb86f66915a54551fcc39dfbeab1fad9 (patch) | |
| tree | f3104a4f1834ca66c3593d5e69354a260b337a55 /lib/sycl/tests | |
| parent | ebc2e26a1b3498363bb7522c241de2925bb7f627 (diff) | |
| download | libs-lbm-c61ba8f8eb86f66915a54551fcc39dfbeab1fad9.tar.gz | |
Working on meta schema instantiation, because I'm stupid
Diffstat (limited to 'lib/sycl/tests')
| -rw-r--r-- | lib/sycl/tests/data.cpp | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/lib/sycl/tests/data.cpp b/lib/sycl/tests/data.cpp index 3073a22..6b17622 100644 --- a/lib/sycl/tests/data.cpp +++ b/lib/sycl/tests/data.cpp @@ -2,6 +2,24 @@ #include "../c++/lbm.hpp" +namespace { + +namespace sch { +using namespace kel::lbm::sch; +using TestObjSchema = Tuple< + Member<FixedArray<UInt64,2u,2u>, "foo">, + Member<Array<Float32>, "bar">, + Member< + Array< + Struct< + Member<FixedArray<Float32,2u>,"pos"> + > + >, + "baz" + > +>; +} + SAW_TEST("Sycl Data Compilation"){ acpp::sycl::queue q; saw::data< @@ -19,3 +37,12 @@ SAW_TEST("Sycl Data Compilation"){ // test_f.at({}).set(1); // SAW_EXPECT(test_f.at({}).get() == 1, "Value check failed"); } + +SAW_TEST("Sycl Data Compilation for Particle Similacrum"){ + acpp::sycl::queue q; + + saw::data< + sch::TestObjSchema + > a; +} +} |
