Objet : Developers list for StarPU
Archives de la liste
Re: [starpu-devel] Get / access value of a variable attached to a StarPU handle
Chronologique Discussions
- From: Samuel Thibault <samuel.thibault@inria.fr>
- To: algiane froehly <algiane@gmail.com>
- Cc: starpu-devel@inria.fr
- Subject: Re: [starpu-devel] Get / access value of a variable attached to a StarPU handle
- Date: Tue, 1 Feb 2022 11:00:46 +0100
- Organization: I am not organized
Hello,
algiane froehly, le mar. 01 févr. 2022 10:00:06 +0100, a ecrit:
> EDIT : I have found a solution (searching for the « data keyword » ;-) ). I
> also guess that I can remove the task_wait_for_all() call because
> synchronization is needed to acquire the count value :
>
> starpu_data_acquire(handle_count, STARPU_W);
> do {
> count = 0;
> starpu_data_release(handle_count);
Yes, the acquire/release calls will synchronize with the submitted tasks
that work on this handle, with RAW/WAR/WAW coherency dependencies.
Samuel
- [starpu-devel] Get / access value of a variable attached to a StarPU handle, algiane froehly, 01/02/2022
- Re: [starpu-devel] Get / access value of a variable attached to a StarPU handle, Samuel Thibault, 01/02/2022
- Re: [starpu-devel] Get / access value of a variable attached to a StarPU handle, algiane froehly, 01/02/2022
- Re: [starpu-devel] Get / access value of a variable attached to a StarPU handle, Samuel Thibault, 01/02/2022
Archives gérées par MHonArc 2.6.19+.