Browse Source

Do not test handle->initialized during execution, its meaning is for submission

Samuel Thibault 7 years ago
parent
commit
f87db4c8b2
1 changed files with 0 additions and 2 deletions
  1. 0 2
      src/core/dependencies/data_concurrency.c

+ 0 - 2
src/core/dependencies/data_concurrency.c

@@ -122,8 +122,6 @@ static unsigned _starpu_attempt_to_submit_data_request(unsigned request_from_cod
 	mode &= ~STARPU_COMMUTE;
 	mode &= ~STARPU_SSEND;
 	mode &= ~STARPU_LOCALITY;
-	if (mode & STARPU_R)
-		STARPU_ASSERT_MSG(handle->initialized, "handle %p is not initialized while trying to read it", handle);
 	if (mode == STARPU_RW)
 		mode = STARPU_W;