소스 검색

tests/datawizard/interfaces/test_interfaces.c: fix call to argument-less function

Nathalie Furmento 13 년 전
부모
커밋
34e05979c1
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      tests/datawizard/interfaces/test_interfaces.c

+ 1 - 1
tests/datawizard/interfaces/test_interfaces.c

@@ -488,7 +488,7 @@ run_cuda(int async)
 		return;
 
 #ifdef HAVE_CUDA_MEMCPY_PEER
-	if (starpu_cuda_worker_get_count(void) >= 2)
+	if (starpu_cuda_worker_get_count() >= 2)
 	{
 		err = cuda_to_cuda();
 		set_field(&summary, async, CUDA_TO_CUDA, err);