DFT-EFE
 
Loading...
Searching...
No Matches
DeviceExceptions.h
Go to the documentation of this file.
1// ---------------------------------------------------------------------
2//
3// Copyright (c) 2017-2025 The Regents of the University of Michigan and DFT-FE
4// authors.
5//
6// This file is part of the DFT-FE code.
7//
8// The DFT-FE code is free software; you can use it, redistribute
9// it, and/or modify it under the terms of the GNU Lesser General
10// Public License as published by the Free Software Foundation; either
11// version 2.1 of the License, or (at your option) any later version.
12// The full text of the license can be found in the file LICENSE at
13// the top level of the DFT-FE distribution.
14//
15// ---------------------------------------------------------------------
16
22#ifdef DFTEFE_WITH_DEVICE
23# ifndef dftefeDeviceExceptions_h
24# define dftefeDeviceExceptions_h
25
26# ifdef DFTEFE_WITH_DEVICE_LANG_CUDA
27# include "DeviceExceptions.cu.h"
28# elif DFTEFE_WITH_DEVICE_LANG_HIP
29# include "DeviceExceptions.hip.h"
30# elif DFTEFE_WITH_DEVICE_LANG_SYCL
32# endif
33
34# endif // dftefeDeviceExceptions_h
35#endif // DFTEFE_WITH_DEVICE