alpaka
Abstraction Library for Parallel Kernel Acceleration
Loading...
Searching...
No Matches
executor.hpp
Go to the documentation of this file.
1/* Copyright 2025 Simeon Ehrig
2 * SPDX-License-Identifier: MPL-2.0
3 */
4
5#pragma once
6
9
10namespace alpaka
11{
12 namespace exec
13 {
14 struct OneApi
15 {
16 static std::string getName()
17 {
18 return "OneApi";
19 }
20 };
21
22 constexpr OneApi oneApi{};
23 } // namespace exec
24
25 namespace trait
26 {
27 template<>
28 struct IsExecutor<exec::OneApi> : std::true_type
29 {
30 };
31 } // namespace trait
32
33 namespace onAcc::trait
34 {
35 template<typename T_AtomicScope>
36 struct GetAtomicImpl::Op<alpaka::exec::OneApi, T_AtomicScope>
37 {
38 constexpr decltype(auto) operator()(alpaka::exec::OneApi const, T_AtomicScope const) const
39 {
41 }
42 };
43 } // namespace onAcc::trait
44} // namespace alpaka
constexpr OneApi oneApi
Definition executor.hpp:22
constexpr auto syclAtomic
Definition tag.hpp:15
main alpaka namespace.
Definition alpaka.hpp:76
static std::string getName()
Definition executor.hpp:16