|
@@ -26,7 +26,7 @@
|
|
|
#include <starpu_opencl.h>
|
|
|
#include <drivers/opencl/driver_opencl.h>
|
|
|
|
|
|
-static int dummy_copy_ram_to_ram(void *src_interface, unsigned src_node __attribute__((unused)), void *dst_interface, unsigned dst_node __attribute__((unused)));
|
|
|
+static int copy_ram_to_ram(void *src_interface, unsigned src_node __attribute__((unused)), void *dst_interface, unsigned dst_node __attribute__((unused)));
|
|
|
#ifdef STARPU_USE_CUDA
|
|
|
static int copy_ram_to_cuda(void *src_interface, unsigned src_node __attribute__((unused)), void *dst_interface, unsigned dst_node __attribute__((unused)));
|
|
|
static int copy_cuda_to_ram(void *src_interface, unsigned src_node __attribute__((unused)), void *dst_interface, unsigned dst_node __attribute__((unused)));
|
|
@@ -37,7 +37,7 @@ static int copy_opencl_to_ram(void *src_interface, unsigned src_node __attribute
|
|
|
#endif
|
|
|
|
|
|
static const struct starpu_data_copy_methods csr_copy_data_methods_s = {
|
|
|
- .ram_to_ram = dummy_copy_ram_to_ram,
|
|
|
+ .ram_to_ram = copy_ram_to_ram,
|
|
|
.ram_to_spu = NULL,
|
|
|
#ifdef STARPU_USE_CUDA
|
|
|
.ram_to_cuda = copy_ram_to_cuda,
|
|
@@ -499,7 +499,7 @@ static int copy_ram_to_opencl(void *src_interface, unsigned src_node __attribute
|
|
|
#endif // STARPU_USE_OPENCL
|
|
|
|
|
|
/* as not all platform easily have a BLAS lib installed ... */
|
|
|
-static int dummy_copy_ram_to_ram(void *src_interface, unsigned src_node __attribute__((unused)), void *dst_interface, unsigned dst_node __attribute__((unused)))
|
|
|
+static int copy_ram_to_ram(void *src_interface, unsigned src_node __attribute__((unused)), void *dst_interface, unsigned dst_node __attribute__((unused)))
|
|
|
{
|
|
|
starpu_csr_interface_t *src_csr = src_interface;
|
|
|
starpu_csr_interface_t *dst_csr = dst_interface;
|