Nathalie Furmento 9054490002 happy 2021 hace 4 años
..
Makefile 9054490002 happy 2021 hace 4 años
README 9054490002 happy 2021 hace 4 años
hello_world.c 9054490002 happy 2021 hace 4 años
hello_world_msvc.c 9054490002 happy 2021 hace 4 años
vector_scal.c 9054490002 happy 2021 hace 4 años
vector_scal_cpu.c 9054490002 happy 2021 hace 4 años
vector_scal_cuda.cu 9054490002 happy 2021 hace 4 años
vector_scal_opencl.c 9054490002 happy 2021 hace 4 años
vector_scal_opencl_kernel.cl 9054490002 happy 2021 hace 4 años
vector_scal_task_insert.c 9054490002 happy 2021 hace 4 años

README

# StarPU --- Runtime system for heterogeneous multicore architectures.
#
# Copyright (C) 2009-2021 Université de Bordeaux, CNRS (LaBRI UMR 5800), Inria
#
# StarPU is free software; you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation; either version 2.1 of the License, or (at
# your option) any later version.
#
# StarPU is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
#
# See the GNU Lesser General Public License in COPYING.LGPL for more details.
#
Instructions on how to compile and run StarPU examples
------------------------------------------------------

% export STARPU_DIR=
% export PATH=$PATH:$STARPU_DIR/bin
% export PKG_CONFIG_PATH=$STARPU_DIR/lib/pkgconfig:$PKG_CONFIG_PATH
% export LD_LIBRARY_PATH=$STARPU_DIR/lib:$LD_LIBRARY_PATH

% starpu_machine_display

% make hello_world
% ./hello_world

% make vector_scal
% ./vector_scal

% STARPU_NCPU=0 ./vector_scal
% STARPU_NCPU=0 STARPU_NCUDA=0 ./vector_scal
% STARPU_NCPU=0 STARPU_NOPENCL=0 ./vector_scal
% STARPU_NOPENCL=0 STARPU_NCUDA=0 ./vector_scal