Commit 9227c839 authored by gbalduzz's avatar gbalduzz
Browse files

Fix issue with cuda blocks and test multiple transfers.

parent 3257033d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -59,7 +59,7 @@ std::array<dim3, 2> getBlockSize3D(const uint i, const uint j, const uint k) {
  const uint n_blocks_k = dca::util::ceilDiv(k, n_threads_k);

  return std::array<dim3, 2>{dim3(n_blocks_i, n_blocks_j, n_blocks_k),
                             dim3(n_threads_i, n_threads_j, n_blocks_k)};
                             dim3(n_threads_i, n_threads_j, n_threads_k)};
}

template <typename Real>
+65 −0
Original line number Diff line number Diff line
{
  "output" :
  {
    "output-format"         : "HDF5",

    "output-ED"  : "ed_results.hdf5",
    "output-QMC" : "output_QMC.hdf5"
  },

  "physics" :
  {
    "beta"                      :  2,
    "chemical-potential"        : 0
  },

  "bilayer-Hubbard-model":
  {
    "t"       : 1,
    "U"       : 2
  },

  "domains": {
    "real-space-grids": {
      "cluster": [[2, 0],
        [0, 2]]
    },

    "imaginary-time": {
      "sp-time-intervals": 512
    },

    "imaginary-frequency": {
      "sp-fermionic-frequencies": 512,
      "four-point-fermionic-frequencies" : 4
    }
  },

  "four-point": {
    "type": "NONE",
    "frequency-transfer": 3,
    "compute-all-transfers" : true
  },


  "Monte-Carlo-integration" :
  {
    "Sigma-file" : "zero",

    "warm-up-sweeps"         : 100,
    "sweeps-per-measurement" : 1,
    "measurements-per-process-and-accumulator" : 500,
    "seed" : 0,

    "threaded-solver" : {
      "accumulators" : 3
    }
  },


  "CT-INT" :
  {
    "initial-configuration-size" :5,
    "alpha-dd-pos" : 0.51
  }
}
+1 −1
Original line number Diff line number Diff line
@@ -27,7 +27,7 @@ constexpr bool update_baseline = false;
#define INPUT_DIR \
  DCA_SOURCE_DIR "/test/unit/phys/dca_step/cluster_solver/shared_tools/accumulation/tp/"

constexpr char input_file[] = INPUT_DIR "input_4x4.json";
constexpr char input_file[] = INPUT_DIR "input_4x4_multitransfer.json";

using ConfigGenerator = dca::testing::AccumulationTest<double>;
using Configuration = ConfigGenerator::Configuration;