-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor ShellBatched Integrators (#127)
* Refactor of RKS/UKS/GKS Host drivers to reduce code replication + various QoL * ShellBatched Refactor - Host compiles and tests, device untested * Fix new ShellBatched for Device, add additional std::future::get to proagate exceptions * Update copyright year on old files, shellbatched -> shell_batched * document why the extra std::future::get is there
- Loading branch information
1 parent
6a8f4bf
commit b9c2161
Showing
27 changed files
with
1,025 additions
and
867 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
42 changes: 42 additions & 0 deletions
42
src/xc_integrator/replicated/device/shell_batched_replicated_xc_device_integrator.hpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
/** | ||
* GauXC Copyright (c) 2020-2024, The Regents of the University of California, | ||
* through Lawrence Berkeley National Laboratory (subject to receipt of | ||
* any required approvals from the U.S. Dept. of Energy). All rights reserved. | ||
* | ||
* See LICENSE.txt for details | ||
*/ | ||
#pragma once | ||
#include <gauxc/xc_integrator/replicated/replicated_xc_device_integrator.hpp> | ||
#include "incore_replicated_xc_device_integrator.hpp" | ||
#include "shell_batched_replicated_xc_integrator.hpp" | ||
|
||
namespace GauXC { | ||
namespace detail { | ||
|
||
template <typename ValueType> | ||
class ShellBatchedReplicatedXCDeviceIntegrator : | ||
public ShellBatchedReplicatedXCIntegrator< | ||
ReplicatedXCDeviceIntegrator<ValueType>, | ||
IncoreReplicatedXCDeviceIntegrator<ValueType> | ||
> { | ||
|
||
using base_type = ShellBatchedReplicatedXCIntegrator< | ||
ReplicatedXCDeviceIntegrator<ValueType>, | ||
IncoreReplicatedXCDeviceIntegrator<ValueType> | ||
>; | ||
|
||
public: | ||
|
||
template <typename... Args> | ||
ShellBatchedReplicatedXCDeviceIntegrator( Args&&... args ) : | ||
base_type( std::forward<Args>(args)... ) { } | ||
|
||
virtual ~ShellBatchedReplicatedXCDeviceIntegrator() noexcept; | ||
|
||
}; | ||
|
||
extern template class ShellBatchedReplicatedXCDeviceIntegrator<double>; | ||
|
||
} | ||
} | ||
|
131 changes: 0 additions & 131 deletions
131
src/xc_integrator/replicated/device/shellbatched_replicated_xc_device_integrator.hpp
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.