alpaka
Abstraction Library for Parallel Kernel Acceleration
Decay.hpp
Go to the documentation of this file.
1
/* Copyright 2023 Sergei Bastrakov, Jan Stephan, Bernhard Manfred Gruber
2
* SPDX-License-Identifier: MPL-2.0
3
*/
4
5
#pragma once
6
7
#include "
alpaka/core/BoostPredef.hpp
"
8
9
#include <type_traits>
10
11
namespace
alpaka
12
{
13
//! Provides a decaying wrapper around std::is_same. Example: is_decayed_v<volatile float, float> returns true.
14
template
<
typename
T,
typename
U>
15
inline
constexpr
auto
is_decayed_v
= std::is_same_v<std::decay_t<T>, std::decay_t<U>>;
16
}
// namespace alpaka
BoostPredef.hpp
alpaka
The alpaka accelerator library.
Definition:
AccCpuOmp2Blocks.hpp:49
alpaka::is_decayed_v
constexpr auto is_decayed_v
Provides a decaying wrapper around std::is_same. Example: is_decayed_v<volatile float,...
Definition:
Decay.hpp:15
include
alpaka
core
Decay.hpp
Generated on Thu Dec 12 2024 11:51:45 for alpaka by
1.9.1