|
||||
File indexing completed on 2024-07-12 02:41:47
0001 #include "HeterogeneousCore/AlpakaInterface/interface/config.h" 0002 #include "HeterogeneousCore/AlpakaTest/interface/HostOnlyType.h" 0003 #include "HeterogeneousCore/AlpakaTest/interface/alpaka/printAnswer.h" 0004 0005 namespace ALPAKA_ACCELERATOR_NAMESPACE::alpakatest { 0006 using namespace ::alpakatest; 0007 0008 // A simple function to demonstarte the dependency on host-only types from alpaka libraries 0009 void printAnswer() { 0010 HostOnlyType answer(42); 0011 answer.print(); 0012 } 0013 0014 } // namespace ALPAKA_ACCELERATOR_NAMESPACE::alpakatest
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.2.1 LXR engine. The LXR team |