Samuel Thibault 75e93fa729 Document that one should check that the kernel did properly start 4 år sedan
..
Makefile 461a05b22b update copyright holders 5 år sedan
README 461a05b22b update copyright holders 5 år sedan
hello_world.c 719c3f62d4 update copyright holders 5 år sedan
hello_world_msvc.c 719c3f62d4 update copyright holders 5 år sedan
vector_scal.c 719c3f62d4 update copyright holders 5 år sedan
vector_scal_cpu.c 719c3f62d4 update copyright holders 5 år sedan
vector_scal_cuda.cu 75e93fa729 Document that one should check that the kernel did properly start 4 år sedan
vector_scal_opencl.c 719c3f62d4 update copyright holders 5 år sedan
vector_scal_opencl_kernel.cl 719c3f62d4 update copyright holders 5 år sedan
vector_scal_task_insert.c 719c3f62d4 update copyright holders 5 år sedan

README

# StarPU --- Runtime system for heterogeneous multicore architectures.
#
# Copyright (C) 2009-2020 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