| 
					
				 | 
			
			
				@@ -2,7 +2,7 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  * 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  * Copyright (C) 2011-2014,2016-2017                      Inria 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  * Copyright (C) 2011-2018                                Université de Bordeaux 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- * Copyright (C) 2011-2017                                CNRS 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ * Copyright (C) 2011-2018                                CNRS 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  * 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  * 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 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -500,8 +500,10 @@ int _starpu_task_insert_create(struct starpu_codelet *cl, struct starpu_task *ta 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 	} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-	if (state.nargs) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-		if (task->cl_arg != NULL) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	if (state.nargs) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		if (task->cl_arg != NULL) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			_STARPU_DISP("Parameters STARPU_CL_ARGS and STARPU_VALUE cannot be used in the same call\n"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			free(state.arg_buffer); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			return -EINVAL; 
			 |