Shamrock
2025.10.0
Astrophysical Code
Loading...
Searching...
No Matches
shambackends
include
shambackends
sycl.hpp
Go to the documentation of this file.
1
// -------------------------------------------------------//
2
//
3
// SHAMROCK code for hydrodynamics
4
// Copyright (c) 2021-2026 Timothée David--Cléris <tim.shamrock@proton.me>
5
// SPDX-License-Identifier: CeCILL Free Software License Agreement v2.1
6
// Shamrock is licensed under the CeCILL 2.1 License, see LICENSE for more information
7
//
8
// -------------------------------------------------------//
9
10
#pragma once
11
19
#include "
typeAliasBase.hpp
"
// IWYU pragma: export
20
#include "
typeAliasFp16.hpp
"
// IWYU pragma: export
21
#include "
typeAliasVec.hpp
"
// IWYU pragma: export
22
#include <sycl/sycl.hpp>
23
24
enum
SYCLImplementation
{ ACPP, DPCPP, UNKNOWN };
25
26
#ifdef SYCL_COMP_ACPP
27
constexpr
SYCLImplementation
sycl_implementation = ACPP;
28
#else
29
#ifdef SYCL_COMP_INTEL_LLVM
30
constexpr
SYCLImplementation
sycl_implementation = DPCPP;
31
#else
32
constexpr
SYCLImplementation
sycl_implementation = UNKNOWN;
33
#endif
34
#endif
SYCLImplementation
SYCLImplementation
IWYU pragma: export.
Definition
sycl.hpp:24
typeAliasBase.hpp
typeAliasFp16.hpp
typeAliasVec.hpp
Generated on Wed May 13 2026 13:21:48 for Shamrock by
1.9.8