Dear Karl,
The clinfo seems to work well:
*/home/badia/opencl/Mali_OpenCL_SDK_v1.1.0/samples/clinfo/clinfoNumber of
platforms: 1Platform #0 Name: ARM
Platform Version: OpenCL 1.1Number of
devices of platform 0: 2 Device #0 Name:
Mali-T628 Type: GPU Version:
OpenCL 1.1 Global memory size: 1 GB
970 MB 796 kB Local memory size: 32 kB Max work
group size: 256 Max work item sizes:
(256, 256, 256) Device #1 Name:
Mali-T628 Type: GPU Version:
OpenCL 1.1 Global memory size: 1 GB
970 MB 796 kB Local memory size: 32 kB Max work
group size: 256 Max work item sizes:
(256, 256, 256)*
Could it be a problem that OpenCL is installed in another user's home? I
exported the PATH and LD_LIBRARY_PATH variables accordingly, but still got
the same error.
These are the steps I followed to compile ViennaCL:
*2032 cmake -DOPENCLROOT=/home/badia/opencl/Mali_OpenCL_SDK_v1.1.0/
-DOPENCL_LIBRARY=/home/badia/opencl/Mali_OpenCL_SDK_v1.1.0/lib/libOpenCL.so
ENABLE_UBLAS . 2033 make 2034 ls 2035 cd examples/tutorial/ 2036
ls 2037 ./qr 2038 export
PATH=/home/badia/opencl/Mali_OpenCL_SDK_v1.1.0/samples/clinfo:$PATH 2039
export
LD_LIBRARY_PATH=/home/badia/opencl/Mali_OpenCL_SDK_v1.1.0/lib:$LD_LIBRARY_PATH
2040
./qr*
Thanks for your help.
Best regards,
Sandra
<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=icon>
Virus-free.
www.avast.com
<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=link>
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
El vie, 12 nov 2021 a las 16:24, Karl Rupp (<[email protected]>)
escribió:
> Hi,
>
> this error usually indicates that your OpenCL installation isn't working
> properly. Does clinfo work from the command line?
>
> Best regards,
> Karli
>
>
> On 11/12/21 14:05, SANDRA CATALAN PALLARES wrote:
> > Good morning,
> >
> > I am trying to run the examples included in Vienna, but I get the
> > following error:
> >
> > /./qr
> > terminate called after throwing an instance of
> > 'viennacl::ocl::unknown_error'
> > what(): ViennaCL: FATAL ERROR: ViennaCL encountered an unknown
> > OpenCL error. Most likely your OpenCL SDK or driver is not installed
> > properly. In some cases, this error is due to an invalid global work
> > size or several kernel compilation errors.
> > If you think that this is a bug in ViennaCL, please report it at
> > [email protected]
> > <mailto:[email protected]> and supply at least the
> > following information:
> > * Operating System
> > * Which OpenCL implementation (AMD, NVIDIA, etc.)
> > * ViennaCL version
> > Many thanks in advance!
> > Aborted/
> >
> > I am compiling the library on an ODROID-XU3, with Ubuntu 14.04.1 LTS.
> > The OpenCL implementation is Mali_OpenCL_SDK_v1.1.0, which seems to work
> > properly and the Vienna version is 1.7.1.
> >
> > Thanks in advance,
> > Sandra Catalán
> > --
> >
> > *Sandra Catalán Pallarés*
> > SecciónDept. Arquitectura de Computadores y Automática
> > Facultad de Ciencias Físicas - Desp. 223
> > Universidad Complutense de Madrid
> > 28040 - Madrid (Spain)
> > (+34) 91 394 *4394 - *[email protected] <mailto:[email protected]>
> >
> >
> > _______________________________________________
> > ViennaCL-support mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/viennacl-support
> >
>
--
*Sandra Catalán Pallarés*
Sección Dept. Arquitectura de Computadores y Automática
Facultad de Ciencias Físicas - Desp. 223
Universidad Complutense de Madrid
28040 - Madrid (Spain)
(+34) 91 394 *4394 - *[email protected]
_______________________________________________
ViennaCL-support mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/viennacl-support