Loading src/phys/dca_step/cluster_solver/shared_tools/accumulation/tp/tp_accumulator_kernels.cu +15 −4 Original line number Diff line number Diff line Loading @@ -426,6 +426,17 @@ float updateG4(std::complex<Real>* G4, const std::complex<Real>* G_up, const int const std::size_t n_updates = size_12 * size_12 * size_3; switch (type) { // Note: sign flips are ignored and a single complex * real multiplication is // present in all modes. case PARTICLE_HOLE_TRANSVERSE: // Each update of a G4 entry involves 2 complex additions and 3 complex multiplications. return 20. * n_updates; case PARTICLE_HOLE_MAGNETIC: // Each update of a G4 entry involves 3 complex additions and 3 complex multiplications. return 26. * n_updates; case PARTICLE_HOLE_CHARGE: // Each update of a G4 entry involves 3 complex additions and 3 complex multiplications. return 26. * n_updates; case PARTICLE_PARTICLE_UP_DOWN: // Each update of a G4 entry involves 3 complex additions and 2 complex multiplications. return 20. * n_updates; Loading Loading
src/phys/dca_step/cluster_solver/shared_tools/accumulation/tp/tp_accumulator_kernels.cu +15 −4 Original line number Diff line number Diff line Loading @@ -426,6 +426,17 @@ float updateG4(std::complex<Real>* G4, const std::complex<Real>* G_up, const int const std::size_t n_updates = size_12 * size_12 * size_3; switch (type) { // Note: sign flips are ignored and a single complex * real multiplication is // present in all modes. case PARTICLE_HOLE_TRANSVERSE: // Each update of a G4 entry involves 2 complex additions and 3 complex multiplications. return 20. * n_updates; case PARTICLE_HOLE_MAGNETIC: // Each update of a G4 entry involves 3 complex additions and 3 complex multiplications. return 26. * n_updates; case PARTICLE_HOLE_CHARGE: // Each update of a G4 entry involves 3 complex additions and 3 complex multiplications. return 26. * n_updates; case PARTICLE_PARTICLE_UP_DOWN: // Each update of a G4 entry involves 3 complex additions and 2 complex multiplications. return 20. * n_updates; Loading