Une MAJ de sécurité est nécessaire sur notre version actuelle. Elle sera effectuée lundi 02/08 entre 12h30 et 13h. L'interruption de service devrait durer quelques minutes (probablement moins de 5 minutes).

Commit 83930325 authored by THIBAULT Samuel's avatar THIBAULT Samuel
Browse files

Fix warnings

parent 739eb790
Pipeline #217394 passed with stages
in 1 minute and 32 seconds
......@@ -70,9 +70,9 @@ static void check_output(void)
static void init_problem_data(void)
{
#ifndef STARPU_SIMGRID
unsigned i,j;
#ifndef STARPU_SIMGRID
starpu_malloc((void **)&A, zdim*ydim*sizeof(TYPE));
starpu_malloc((void **)&B, xdim*zdim*sizeof(TYPE));
starpu_malloc((void **)&C, xdim*ydim*sizeof(TYPE));
......@@ -202,12 +202,12 @@ static struct starpu_codelet cl =
{
.type = STARPU_SEQ, /* changed to STARPU_SPMD if -spmd is passed */
.max_parallelism = INT_MAX,
.cpu_funcs = {cpu_mult, NULL},
.cpu_funcs = {cpu_mult},
#ifdef STARPU_SIMGRID
.cuda_funcs = {(void*) 1, NULL},
.cuda_funcs = {(void*) 1},
#endif
#ifdef STARPU_USE_CUDA
.cuda_funcs = {cublas_mult, NULL},
.cuda_funcs = {cublas_mult},
#endif
.nbuffers = 3,
.modes = {STARPU_R, STARPU_R, STARPU_RW},
......
......@@ -38,20 +38,20 @@ static struct starpu_perfmodel perfmodel = {
static struct starpu_codelet cl = {
/* CPU implementation of the codelet */
.cpu_funcs = {vector_scal_cpu, NULL},
.cpu_funcs = {vector_scal_cpu},
#ifdef STARPU_SIMGRID
/* CUDA pseudo-implementation of the codelet */
.cuda_funcs = {(void*) 1, NULL},
.cuda_funcs = {(void*) 1},
/* OpenCL pseudo-implementation of the codelet */
.opencl_funcs = {(void*) 1, NULL},
.opencl_funcs = {(void*) 1},
#else
#ifdef STARPU_USE_CUDA
/* CUDA implementation of the codelet */
.cuda_funcs = {vector_scal_cuda, NULL},
.cuda_funcs = {vector_scal_cuda},
#endif
#ifdef STARPU_USE_OPENCL
/* OpenCL implementation of the codelet */
.opencl_funcs = {vector_scal_opencl, NULL},
.opencl_funcs = {vector_scal_opencl},
#endif
#endif
.nbuffers = 1,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment