Sfoglia il codice sorgente

Use the real type for the conversion codelets

Samuel Thibault 13 anni fa
parent
commit
9477969fe2
1 ha cambiato i file con 4 aggiunte e 4 eliminazioni
  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
 };