Accéder au contenu.
Menu Sympa

starpu-devel - Re: [Starpu-devel] Problème sur SOCL

Objet : Developers list for StarPU

Archives de la liste

Re: [Starpu-devel] Problème sur SOCL


Chronologique Discussions 
  • From: Sylvain HENRY <sylvain.henry@inria.fr>
  • To: Pei LI <pei.li@telecom-sudparis.eu>
  • Cc: starpu-devel@lists.gforge.inria.fr, Elisabeth Brunet <elisabeth.brunet@telecom-sudparis.eu>
  • Subject: Re: [Starpu-devel] Problème sur SOCL
  • Date: Tue, 11 Jun 2013 17:02:31 +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>

Please try the following:

1) ICD
- Check that /etc/OpenCL/vendors/socl.icd exists
- Check that it contains the path to the correct libsocl-1.*.so
- Check that there is no additional blank line at the end

2) OpenCL on CPU
- Check that the environment variable is set STARPU_OPENCL_ON_CPUS=1
- For AMD implementation, set STARPU_DISABLE_ASYNCHRONOUS_COPY=1
- Check that StarPU OpenCL examples (without SOCL) work

3) Try to install and to link with another libOpenCL such as ocl-icd (https://forge.imag.fr/projects/ocl-icd/)


From your other mail, it seems that your ICD is correctly configured. Please check (2) above.

Regards
Sylvain


Le 11/06/2013 16:45, Pei LI a écrit :
Ok, I understand. Unluckily i didn't find the SOCL among OpenCL platforms.
By the way, i installed StarPU on my Laptop Dell( CPU: intel i3).
And the configuration result of StarPU are listed below:
it says "SOCL enabled", i don't know why i still can't find SOCL.
Does anyone can help me?

CPUs enabled: yes
CUDA enabled: no
OpenCL enabled: yes
SCC enabled: no
MIC enabled: no

Compile-time limits
(change these with --enable-maxcpus, --enable-maxcudadev,
--enable-maxopencldev, --enable-maxbuffers)

Maximum number of CPUs: 64
Maximum number of CUDA devices: 4
Maximum number of OpenCL devices: 8
Maximum number of memory nodes: 16
Maximum number of task buffers: 8

GPU-GPU transfers: no
Allocation cache: yes

Magma enabled: no
BLAS library: none
hwloc: yes
FxT trace enabled: no
StarPU-Top: yes

Documentation: yes
Examples: yes

StarPU Extensions:
MPI enabled: yes
MPI test suite: yes
FFT Support: no
GCC plug-in: yes
GCC plug-in test suite (requires GNU Guile): yes
SOCL enabled: yes
SOCL test suite: yes
Scheduler Hypervisor: no
simgrid enabled: no
ayudame enabled: no

Regards
Pei



On 06/11/2013 02:53 PM, Sylvain HENRY wrote:
No you don't have to include anything else than standard OpenCL headers.

Try to compile and to run the attached source with:
gcc -o clinfo -lOpenCL clinfo.c && ./clinfo

It will show you the detected OpenCL platforms. If SOCL is not among them, you have a problem in your configuration (ICD, etc.).

Regards
Sylvain






Archives gérées par MHonArc 2.6.19+.

Haut de le page