Skip to content

Commit

Permalink
Merge branch 'HXOptims' of https://bitbucket.org/dftfedevelopers/dftfe
Browse files Browse the repository at this point in the history
…into HXOptims
  • Loading branch information
knikhil1995 committed Mar 15, 2024
2 parents 413cfc5 + b297588 commit e017c2f
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 4 deletions.
5 changes: 4 additions & 1 deletion include/MPICommunicatorP2P.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,12 @@
#include <MemoryStorage.h>
#include <DataTypeOverloads.h>
#include <dftfeDataTypes.h>
#if defined(DFTFE_WITH_CUDA_NCCL) || defined(DFTFE_WITH_HIP_RCCL)
#if defined(DFTFE_WITH_CUDA_NCCL)
# include <nccl.h>
# include <DeviceTypeConfig.h>
#elif defined(DFTFE_WITH_HIP_RCCL)
# include <rccl.h>
# include <DeviceTypeConfig.h>
#endif


Expand Down
12 changes: 9 additions & 3 deletions include/deviceDirectCCLWrapper.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,15 @@
# include <complex>
# include <mpi.h>
# include <DeviceTypeConfig.h>
# if defined(DFTFE_WITH_CUDA_NCCL) || defined(DFTFE_WITH_HIP_RCCL)
# include <nccl.h>
# endif

# if defined(DFTFE_WITH_CUDA_NCCL)
# include <nccl.h>
# include <DeviceTypeConfig.h>
# elif defined(DFTFE_WITH_HIP_RCCL)
# include <rccl.h>
# include <DeviceTypeConfig.h>
# endif

namespace dftfe
{
namespace utils
Expand Down

0 comments on commit e017c2f

Please sign in to comment.