diff options
Diffstat (limited to 'lib/sycl/tests/data.cpp')
| -rw-r--r-- | lib/sycl/tests/data.cpp | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/lib/sycl/tests/data.cpp b/lib/sycl/tests/data.cpp index e57a1e3..3073a22 100644 --- a/lib/sycl/tests/data.cpp +++ b/lib/sycl/tests/data.cpp @@ -1,6 +1,21 @@ #include <forstio/test/suite.hpp> +#include "../c++/lbm.hpp" -SAW_TEST("Sycl Dummy"){ +SAW_TEST("Sycl Data Compilation"){ + acpp::sycl::queue q; + saw::data< + saw::schema::Struct< + saw::schema::Member< + kel::lbm::sch::Chunk<saw::schema::UInt8,1u,1u,1u>, + "test" + > + >, + kel::lbm::encode::Sycl<saw::encode::Native> + > dat{q}; + auto& test_f = dat.template get<"test">(); + + // test_f.at({}).set(1); + // SAW_EXPECT(test_f.at({}).get() == 1, "Value check failed"); } |
