Objet : Developers list for StarPU
Archives de la liste
Re: [Starpu-devel] Segmentation fault when I try to execute the basic example Vector Scale using OpenCL kernel.
Chronologique Discussions
- From: Samuel Thibault <samuel.thibault@ens-lyon.org>
- To: ASD D <ajitsdeshpande@gmail.com>
- Cc: starpu-devel@lists.gforge.inria.fr
- Subject: Re: [Starpu-devel] Segmentation fault when I try to execute the basic example Vector Scale using OpenCL kernel.
- Date: Fri, 28 Oct 2011 17:26:21 +0200
- List-archive: <http://lists.gforge.inria.fr/pipermail/starpu-devel>
- List-id: "Developers list. For discussion of new features, code changes, etc." <starpu-devel.lists.gforge.inria.fr>
ASD D, le Fri 28 Oct 2011 15:45:34 +0200, a écrit :
> 4] When I execute this example - Vector_scale using STARPU_NCPUS=0
> ./examples/
> basic_examples/vector_scal
>
> It crashes giving Segmentation Fault. Error message –
>
> [starpu][starpu_opencl_load_kernel] Program not available
AIUI, you are running it using MoviSim's OpenCL layer? I guess they
don't interact correctly with StarPU, you need to add some printfs in
starpu_opencl_load_opencl_from_string and starpu_opencl_load_kernel to
see what happens (e.g. bad device ID, or such thing).
> Q-1 Any pointers about what I am doing wrong and solution to fix it would
> help.
Nothing is wrong, it's supposed to work that way. It does with Nvidia's
OpenCL implementation at least.
> Q-2 How to get this basic example configured, built without using openCL and
> using CPU worker alone?
Err, well, ./configure --disable-opencl
Samuel
- [Starpu-devel] Segmentation fault when I try to execute the basic example Vector Scale using OpenCL kernel., ASD D, 28/10/2011
- <Suite(s) possible(s)>
- Re: [Starpu-devel] Segmentation fault when I try to execute the basic example Vector Scale using OpenCL kernel., Samuel Thibault, 28/10/2011
Archives gérées par MHonArc 2.6.19+.