Browse Source

We do not really need to clear the compatibility field. And applications like magma need it anyway.

Samuel Thibault 13 years ago
parent
commit
67315fc3d6
1 changed files with 0 additions and 2 deletions
  1. 0 2
      src/core/task.c

+ 0 - 2
src/core/task.c

@@ -330,8 +330,6 @@ void _starpu_task_check_deprecated_fields(struct starpu_task *task)
 				task->handles[i] = task->buffers[i].handle;
 				task->handles[i] = task->buffers[i].handle;
 				task->cl->modes[i] = task->buffers[i].mode;
 				task->cl->modes[i] = task->buffers[i].mode;
 			}
 			}
-			task->buffers[i].handle = NULL;
-			task->buffers[i].mode = STARPU_NONE;
 		}
 		}
 	}
 	}
 }
 }