ComputationalRadiationPhysics / haseongpu

HASEonGPU: High performance Amplified Spontaneous Emission on GPU
http://www.hzdr.de/crp
Other
7 stars 6 forks source link

GPU and CPU compilation possible #117

Open erikzenker opened 8 years ago

erikzenker commented 8 years ago

This PR provides HASEonGPU the ability to compile for CPU and GPU. The GPU back-end is used when CUDA was selected by compile time option, otherwise the CPU back-end is used. It is currently no possible to select the back-end on run-time, because nvcc is not able fully compile the CPU back-end code of alpaka.

This PR needs to be followed by performance checks.

erikzenker commented 8 years ago

Well, alpaka is not compiling with gcc 5.2. It is time for a module system on our drone server.

erikzenker commented 8 years ago

Alpaka could also be fixed to be compileable with gcc 5.2