Quellcode durchsuchen

src/datawizard/memalloc.c: we also need to inquire the memory manager when using Simgid

Nathalie Furmento vor 12 Jahren
Ursprung
Commit
ac9ad221fd
1 geänderte Dateien mit 0 neuen und 2 gelöschten Zeilen
  1. 0 2
      src/datawizard/memalloc.c

+ 0 - 2
src/datawizard/memalloc.c

@@ -773,10 +773,8 @@ starpu_allocate_buffer_on_node(unsigned dst_node, size_t size)
 	cudaError_t status;
 #endif
 
-#ifndef STARPU_SIMGRID
 	if (_starpu_memory_manager_can_allocate_size(size, dst_node) == 0)
 		return NULL;
-#endif /* STARPU_SIMGRID */
 
 #ifdef STARPU_DEVEL
 #warning TODO: we need to use starpu_malloc which should itself inquire from the memory manager is there is enough available memory