ソースを参照

mpi/tests/insert_task_owner2.c: no need to use the mpi wrapper function, use directly starpu_handle_get_local_ptr

Nathalie Furmento 12 年 前
コミット
23d8614295
共有1 個のファイルを変更した1 個の追加1 個の削除を含む
  1. 1 1
      mpi/tests/insert_task_owner2.c

+ 1 - 1
mpi/tests/insert_task_owner2.c

@@ -107,7 +107,7 @@ int main(int argc, char **argv)
                 starpu_mpi_get_data_on_node_detached(MPI_COMM_WORLD, data_handles[i], 0, NULL, NULL);
 		if (rank == 0) {
 			starpu_data_acquire(data_handles[i], STARPU_R);
-			values[i] = *((int *)starpu_mpi_handle_to_ptr(data_handles[i]));
+			values[i] = *((int *)starpu_handle_get_local_ptr(data_handles[i]));
 		}
         }
         FPRINTF(stderr, "[%d][local ptr] VALUES: %d %d %d %d\n", rank, values[0], values[1], values[2], values[3]);