|
@@ -556,7 +556,8 @@ static size_t try_to_throw_mem_chunk(struct _starpu_mem_chunk *mc, unsigned node
|
|
|
return 0;
|
|
|
|
|
|
/* This data cannnot be pushed outside CPU memory */
|
|
|
- if (!handle->ooc && starpu_node_get_kind(node) == STARPU_CPU_RAM)
|
|
|
+ if (!handle->ooc && starpu_node_get_kind(node) == STARPU_CPU_RAM
|
|
|
+ && starpu_memory_nodes_get_numa_count() == 1)
|
|
|
return 0;
|
|
|
|
|
|
if (diduse_barrier && !mc->diduse)
|