summaryrefslogtreecommitdiff
path: root/lib/sycl/tests
diff options
context:
space:
mode:
authorClaudius "keldu" Holeksa <mail@keldu.de>2026-07-05 15:59:23 +0200
committerClaudius "keldu" Holeksa <mail@keldu.de>2026-07-05 15:59:23 +0200
commitc0549d71b2109f10c1238db8b22362e7826ba61b (patch)
tree16cd5264fcc3afe912e1b1b67738c8940d6d1177 /lib/sycl/tests
parent9a3147bc79caf3c0fb1a9cdee29d156b5ff092c7 (diff)
downloadlibs-lbm-c0549d71b2109f10c1238db8b22362e7826ba61b.tar.gz
Just rename from lib to modules
Diffstat (limited to 'lib/sycl/tests')
-rw-r--r--lib/sycl/tests/SConscript32
-rw-r--r--lib/sycl/tests/data.cpp56
2 files changed, 0 insertions, 88 deletions
diff --git a/lib/sycl/tests/SConscript b/lib/sycl/tests/SConscript
deleted file mode 100644
index d1b381e..0000000
--- a/lib/sycl/tests/SConscript
+++ /dev/null
@@ -1,32 +0,0 @@
-#!/bin/false
-
-import os
-import os.path
-import glob
-
-
-Import('env')
-
-dir_path = Dir('.').abspath
-
-# Environment for base library
-test_cases_env = env.Clone();
-
-test_cases_env.Append(LIBS=['forstio-test']);
-
-test_cases_env.sources = sorted(glob.glob(dir_path + "/*.cpp"))
-test_cases_env.headers = sorted(glob.glob(dir_path + "/*.hpp"))
-
-env.sources += test_cases_env.sources;
-env.headers += test_cases_env.headers;
-
-objects_static = []
-test_cases_env.add_source_files(objects_static, test_cases_env.sources, shared=False);
-test_cases_env.program = test_cases_env.Program('#bin/tests', [objects_static]);
-# , env.library_static]);
-
-# Set Alias
-env.Alias('test', test_cases_env.program);
-env.Alias('check', test_cases_env.program);
-
-env.targets += ['test','check'];
diff --git a/lib/sycl/tests/data.cpp b/lib/sycl/tests/data.cpp
deleted file mode 100644
index 4321a0d..0000000
--- a/lib/sycl/tests/data.cpp
+++ /dev/null
@@ -1,56 +0,0 @@
-#include <forstio/test/suite.hpp>
-
-#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<
- 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");
-}
-
-SAW_TEST("Sycl Data Array of Struct"){
- acpp::sycl::queue q;
-
- saw::data<sch::Array<sch::Float64>, kel::lbm::encode::Sycl<saw::encode::Native>> a{{{2u}},q};
-}
-
-/*
-SAW_TEST("Sycl Data Compilation for Particle Similacrum"){
- acpp::sycl::queue q;
-
- saw::data<
- sch::TestObjSchema
- > a;
-}
-*/
-}