瀏覽代碼

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

Samuel Thibault 13 年之前
父節點
當前提交
67315fc3d6
共有 1 個文件被更改,包括 0 次插入2 次删除
  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->cl->modes[i] = task->buffers[i].mode;
 			}
-			task->buffers[i].handle = NULL;
-			task->buffers[i].mode = STARPU_NONE;
 		}
 	}
 }