Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2022-08-15 01:07:42

0001 #ifndef HeterogeneousCore_AlpakaInterface_interface_AlpakaServiceFwd_h
0002 #define HeterogeneousCore_AlpakaInterface_interface_AlpakaServiceFwd_h
0003 
0004 // Forward declaration of the alpaka accelerator namespaces and of the AlpakaService for each of them.
0005 //
0006 // This file is under HeterogeneousCore/AlpakaInterface to avoid introducing a dependency on
0007 // HeterogeneousCore/AlpakaServices and HeterogeneousCore/AlpakaCore.
0008 
0009 #ifdef ALPAKA_ACC_GPU_CUDA_ENABLED
0010 namespace alpaka_cuda_async {
0011   class AlpakaService;
0012 }  // namespace alpaka_cuda_async
0013 #endif  // ALPAKA_ACC_GPU_CUDA_ENABLED
0014 
0015 #ifdef ALPAKA_ACC_GPU_HIP_ENABLED
0016 namespace alpaka_hip_async {
0017   class AlpakaService;
0018 }  // namespace alpaka_hip_async
0019 #endif  // ALPAKA_ACC_GPU_HIP_ENABLED
0020 
0021 #ifdef ALPAKA_ACC_CPU_B_SEQ_T_SEQ_ENABLED
0022 namespace alpaka_serial_sync {
0023   class AlpakaService;
0024 }  // namespace alpaka_serial_sync
0025 #endif  // ALPAKA_ACC_CPU_B_SEQ_T_SEQ_ENABLED
0026 
0027 #ifdef ALPAKA_ACC_CPU_B_TBB_T_SEQ_ENABLED
0028 namespace alpaka_tbb_async {
0029   class AlpakaService;
0030 }  // namespace alpaka_tbb_async
0031 #endif  // ALPAKA_ACC_CPU_B_TBB_T_SEQ_ENABLED
0032 
0033 #endif  // HeterogeneousCore_AlpakaInterface_interface_AlpakaServiceFwd_h