Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor ShellBatched Integrators #127

Merged
merged 5 commits into from
May 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/xc_integrator/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
#
add_subdirectory(integrator_util)
add_subdirectory(local_work_driver)
add_subdirectory(shell_batched)
add_subdirectory(replicated)
add_subdirectory(xc_data)

Expand Down
2 changes: 1 addition & 1 deletion src/xc_integrator/replicated/device/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@
target_sources( gauxc PRIVATE
replicated_xc_device_integrator.cxx
incore_replicated_xc_device_integrator.cxx
shellbatched_replicated_xc_device_integrator.cxx
shell_batched_replicated_xc_device_integrator.cxx
)

Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ class IncoreReplicatedXCDeviceIntegrator :

public:

static constexpr bool is_device = true;
using value_type = typename base_type::value_type;
using basis_type = typename base_type::basis_type;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
*/
#include <gauxc/xc_integrator/replicated/replicated_xc_device_integrator.hpp>
#include "incore_replicated_xc_device_integrator.hpp"
#include "shellbatched_replicated_xc_device_integrator.hpp"
#include "shell_batched_replicated_xc_device_integrator.hpp"
#include "device/local_device_work_driver.hpp"

namespace GauXC {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,11 @@
*
* See LICENSE.txt for details
*/
#include "shellbatched_replicated_xc_device_integrator_integrate_den.hpp"
#include "shellbatched_replicated_xc_device_integrator_exc_vxc.hpp"
#include "shellbatched_replicated_xc_device_integrator_exc_grad.hpp"
#include "shellbatched_replicated_xc_device_integrator_exx.hpp"
#include "shell_batched_replicated_xc_device_integrator.hpp"
#include "shell_batched_replicated_xc_integrator_integrate_den.hpp"
#include "shell_batched_replicated_xc_integrator_exc_vxc.hpp"
#include "shell_batched_replicated_xc_integrator_exc_grad.hpp"
#include "shell_batched_replicated_xc_integrator_exx.hpp"

namespace GauXC {
namespace detail {
Expand Down
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>;

}
}

This file was deleted.

Loading
Loading