소스 검색

Use the real type for the conversion codelets

Samuel Thibault 13 년 전
부모
커밋
9477969fe2
1개의 변경된 파일4개의 추가작업 그리고 4개의 파일을 삭제
  1. 4 4
      include/starpu_data_interfaces.h

+ 4 - 4
include/starpu_data_interfaces.h

@@ -321,13 +321,13 @@ struct starpu_multiformat_data_interface_ops {
 	size_t cpu_elemsize;
 #ifdef STARPU_USE_OPENCL
 	size_t opencl_elemsize;
-	void *cpu_to_opencl_cl;
-	void *opencl_to_cpu_cl;
+	struct starpu_codelet_t *cpu_to_opencl_cl;
+	struct starpu_codelet_t *opencl_to_cpu_cl;
 #endif
 #ifdef STARPU_USE_CUDA
 	size_t cuda_elemsize;
-	void *cpu_to_cuda_cl;
-	void *cuda_to_cpu_cl;
+	struct starpu_codelet_t *cpu_to_cuda_cl;
+	struct starpu_codelet_t *cuda_to_cpu_cl;
 #endif
 };