diff options
Diffstat (limited to 'lib/sycl/c++/index.hpp')
| -rw-r--r-- | lib/sycl/c++/index.hpp | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/lib/sycl/c++/index.hpp b/lib/sycl/c++/index.hpp deleted file mode 100644 index 0d2c035..0000000 --- a/lib/sycl/c++/index.hpp +++ /dev/null @@ -1,18 +0,0 @@ -#pragma once - -#include "common.hpp" - -namespace kel { -namespace lbm { -template<typename D> -saw::data<sch::FixedArray<sch::UInt64,D>> sycl_to_saw_index(const acpp::sycl::id<D>& idx){ - saw::data<sch::FixedArray<sch::UInt64,D>> trans_index; - - for(uint64_t i{0u}; i < D; ++i){ - trans_index.at({{i}}).set(idx[i]); - } - - return trans_index; -} -} -} |
