MAJ terminée. Nous sommes passés en version 14.6.2 . Pour consulter les "releases notes" associées c'est ici :

https://about.gitlab.com/releases/2022/01/11/security-release-gitlab-14-6-2-released/
https://about.gitlab.com/releases/2022/01/04/gitlab-14-6-1-released/

Commit b9d9d1b5 authored by Quentin Khan's avatar Quentin Khan
Browse files

Add move constructor/operator to starpu_data_handles manager

parent ec08420a
......@@ -163,6 +163,21 @@ private:
node_data_handles(const node_data_handles&) = delete;
node_data_handles& operator=(const node_data_handles&) = delete;
node_data_handles(node_data_handles&& other) {
*this = std::move(other);
}
node_data_handles& operator=(node_data_handles&& other) {
this->symbolic = other.symbolic;
this->multipole = other.multipole;
this->local_exp = other.local_exp;
this->particles = other.particles;
other.symbolic = starpu_data_handle_t{};
other.multipole = starpu_data_handle_t{};
other.local_exp = starpu_data_handle_t{};
other.particles = starpu_data_handle_t{};
}
starpu_data_handle_t symbolic;
starpu_data_handle_t multipole;
starpu_data_handle_t local_exp;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment