Hi,
> void cpu_setup_vector_widths(cl_device_id):
This code sets up "preferred vector widths" OpenCL device information. It uses
LLVM's sys::getHostCPUFeatures call which apparently fails for your CPU.
You can either fill them manually, or just comment that code out, it's usually
not that important.
Cheers,
-- mb
________________________________
From: Gaurav Khanna <[email protected]>
Sent: Tuesday, August 21, 2018 3:11:27 PM
To: Portable Computing Language development discussion
Subject: Re: [pocl-devel] POCL on Power9, Tegra
Hi Folks
An update. I got POCL built and running on Tegra (ARM) perfectly with CUDA
backend. Out of the box. OpenCL apps run fine too. Thats great.
Now, I’m trying on Power9 with CUDA backend using LLVM 6.0.1. I got everything
built last night. And I can certainly compile simple OpenCL apps. However, if I
try to run any of them .. I get
[root@centos7-ppc64le ~]# ./a.out
a.out: /root/pocl/lib/CL/pocl_llvm_utils.cc:179: void
cpu_setup_vector_widths(cl_device_id): Assertion `res' failed.
Aborted (core dumped)
Its not much info .. but maybe someone on this list can help me troubleshoot.
Cheers
Gaurav
> On Aug 15, 2018, at 1:28 PM, Gaurav Khanna <[email protected]> wrote:
>
>>
>> Are you interested in using Power8 with the Pocl's CPU backend (as a compute
>> device), or just CPU as a host - used by the applications to handle the
>> runtime part of OpenCL, with CUDA backend doing the computation ?
>>
>
> Thanks for the response. Mostly interested in the Power CPU serving as host
> and using the CUDA GPUs as the compute-device.
>
>
>>
>> IIRC i've seen some commits which dealt with ARM in the CUDA backend, so
>> it's quite possible.
>
>
> Thats great news. Who do I ask about this?
>
>
>
>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
pocl-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pocl-devel
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
pocl-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pocl-devel