ソースを参照

Drop spurious changes

Samuel Thibault 11 年 前
コミット
305df11e1f
共有4 個のファイルを変更した7 個の追加3 個の削除を含む
  1. 1 0
      include/starpu_data.h
  2. 0 1
      src/core/task.c
  3. 5 1
      src/datawizard/copy_driver.c
  4. 1 1
      src/datawizard/malloc.c

+ 1 - 0
include/starpu_data.h

@@ -100,6 +100,7 @@ enum starpu_node_kind
 	STARPU_MIC_RAM    = 0x05,
 	STARPU_SCC_RAM    = 0x06,
 	STARPU_SCC_SHM    = 0x07
+
 };
 
 unsigned starpu_worker_get_memory_node(unsigned workerid);

+ 0 - 1
src/core/task.c

@@ -536,7 +536,6 @@ int _starpu_task_submit_internally(struct starpu_task *task)
 {
 	struct _starpu_job *j = _starpu_get_job_associated_to_task(task);
 	j->internal = 1;
-
 	return starpu_task_submit(task);
 }
 

+ 5 - 1
src/datawizard/copy_driver.c

@@ -1,4 +1,7 @@
-/* StarPU --- Runtime system for heterogeneous multicore architectures.  * * Copyright (C) 2010-2013  Université de Bordeaux 1 * Copyright (C) 2010, 2011, 2013  Centre National de la Recherche Scientifique
+/* StarPU --- Runtime system for heterogeneous multicore architectures.
+ *
+ * Copyright (C) 2010-2013  Université de Bordeaux 1
+ * Copyright (C) 2010, 2011, 2013  Centre National de la Recherche Scientifique
  *
  * StarPU is free software; you can redistribute it and/or modify
  * it under the terms of the GNU Lesser General Public License as published by
@@ -695,6 +698,7 @@ unsigned _starpu_driver_test_request_completion(struct _starpu_async_channel *as
 #ifdef STARPU_USE_CUDA
 	cudaEvent_t event;
 #endif
+
 	switch (kind)
 	{
 #ifdef STARPU_USE_CUDA

+ 1 - 1
src/datawizard/malloc.c

@@ -189,7 +189,6 @@ int starpu_malloc_flags(void **A, size_t dim, int flags)
 #ifdef STARPU_HAVE_POSIX_MEMALIGN
 	if (_malloc_align != sizeof(void*))
 	{
-		
 		if (posix_memalign(A, _malloc_align, dim))
 		{
 			ret = -ENOMEM;
@@ -363,6 +362,7 @@ starpu_malloc_on_node(unsigned dst_node, size_t size)
 #ifdef STARPU_USE_CUDA
 	cudaError_t status;
 #endif
+
 	if (_starpu_memory_manager_can_allocate_size(size, dst_node) == 0)
 		return 0;