Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-09 02:22:22

0001 #ifndef HeterogeneousTest_AlpakaWrapper_interface_alpaka_DeviceAdditionWrapper_h
0002 #define HeterogeneousTest_AlpakaWrapper_interface_alpaka_DeviceAdditionWrapper_h
0003 
0004 #include <cstdint>
0005 
0006 #include "HeterogeneousCore/AlpakaInterface/interface/config.h"
0007 
0008 namespace ALPAKA_ACCELERATOR_NAMESPACE::test {
0009 
0010   void wrapper_add_vectors_f(Queue& queue,
0011                              const float* __restrict__ in1,
0012                              const float* __restrict__ in2,
0013                              float* __restrict__ out,
0014                              uint32_t size);
0015 
0016   void wrapper_add_vectors_d(Queue& queue,
0017                              const double* __restrict__ in1,
0018                              const double* __restrict__ in2,
0019                              double* __restrict__ out,
0020                              uint32_t size);
0021 
0022 }  // namespace ALPAKA_ACCELERATOR_NAMESPACE::test
0023 
0024 #endif  // HeterogeneousTest_AlpakaWrapper_interface_alpaka_DeviceAdditionWrapper_h