alpaka
Abstraction Library for Parallel Kernel Acceleration
AccGpuCudaRt.hpp
Go to the documentation of this file.
1
/* Copyright 2022 Andrea Bocci
2
* SPDX-License-Identifier: MPL-2.0
3
*/
4
5
#pragma once
6
7
#include "
alpaka/acc/AccGpuUniformCudaHipRt.hpp
"
8
#include "
alpaka/acc/Tag.hpp
"
9
#include "
alpaka/core/ApiCudaRt.hpp
"
10
11
#ifdef ALPAKA_ACC_GPU_CUDA_ENABLED
12
13
namespace
alpaka
14
{
15
template
<
typename
TDim,
typename
TIdx>
16
using
AccGpuCudaRt
=
AccGpuUniformCudaHipRt<ApiCudaRt, TDim, TIdx>
;
17
18
namespace
trait
19
{
20
template
<
typename
TDim,
typename
TIdx>
21
struct
AccToTag
<
alpaka
::
AccGpuCudaRt
<TDim, TIdx>>
22
{
23
using
type
=
alpaka::TagGpuCudaRt
;
24
};
25
26
template
<
typename
TDim,
typename
TIdx>
27
struct
TagToAcc
<
alpaka
::
TagGpuCudaRt
, TDim, TIdx>
28
{
29
using
type
=
alpaka::AccGpuCudaRt<TDim, TIdx>
;
30
};
31
}
// namespace trait
32
}
// namespace alpaka
33
34
#endif
// ALPAKA_ACC_GPU_CUDA_ENABLED
AccGpuUniformCudaHipRt.hpp
ApiCudaRt.hpp
Tag.hpp
alpaka::AccGpuUniformCudaHipRt
The GPU CUDA accelerator.
Definition:
AccGpuUniformCudaHipRt.hpp:71
alpaka
The alpaka accelerator library.
Definition:
AccCpuOmp2Blocks.hpp:49
alpaka::TagGpuCudaRt
Definition:
Tag.hpp:39
alpaka::trait::AccToTag
Definition:
Tag.hpp:58
alpaka::trait::TagToAcc
Definition:
Tag.hpp:61
include
alpaka
acc
AccGpuCudaRt.hpp
Generated on Thu Dec 12 2024 11:51:45 for alpaka by
1.9.1