|
@@ -57,7 +57,7 @@ void starpu_block_filter_func_vector(starpu_filter *f, starpu_data_handle root_h
|
|
|
local->nx = child_nx;
|
|
|
local->elemsize = elemsize;
|
|
|
|
|
|
- if (root_handle->per_node[node].allocated) {
|
|
|
+ if (starpu_test_if_data_is_allocated_on_node(root_handle, node)) {
|
|
|
starpu_vector_interface_t *local_root =
|
|
|
starpu_data_get_interface_on_node(root_handle, node);
|
|
|
|
|
@@ -95,7 +95,7 @@ void starpu_divide_in_2_filter_func_vector(starpu_filter *f, starpu_data_handle
|
|
|
local->nx = length_first;
|
|
|
local->elemsize = elemsize;
|
|
|
|
|
|
- if (root_handle->per_node[node].allocated) {
|
|
|
+ if (starpu_test_if_data_is_allocated_on_node(root_handle, node)) {
|
|
|
starpu_vector_interface_t *local_root =
|
|
|
starpu_data_get_interface_on_node(root_handle, node);
|
|
|
|
|
@@ -114,7 +114,7 @@ void starpu_divide_in_2_filter_func_vector(starpu_filter *f, starpu_data_handle
|
|
|
local->nx = nx - length_first;
|
|
|
local->elemsize = elemsize;
|
|
|
|
|
|
- if (root_handle->per_node[node].allocated) {
|
|
|
+ if (starpu_test_if_data_is_allocated_on_node(root_handle, node)) {
|
|
|
starpu_vector_interface_t *local_root =
|
|
|
starpu_data_get_interface_on_node(root_handle, node);
|
|
|
|
|
@@ -157,7 +157,7 @@ void starpu_list_filter_func_vector(starpu_filter *f, starpu_data_handle root_ha
|
|
|
local->nx = chunk_size;
|
|
|
local->elemsize = elemsize;
|
|
|
|
|
|
- if (root_handle->per_node[node].allocated) {
|
|
|
+ if (starpu_test_if_data_is_allocated_on_node(root_handle, node)) {
|
|
|
starpu_vector_interface_t *local_root =
|
|
|
starpu_data_get_interface_on_node(root_handle, node);
|
|
|
|