> On Apr 16, 2020, at 06:31, Satish Balay <ba...@mcs.anl.gov> wrote:
> 
> From prior e-mail - you wanted to use AMD GPU on OSX. This build below is CPU 
> build - not for GPU. [Karl can confirm]
> 
> I think OSX has OpenCL installed by default [perhaps via xcode?] - so you 
> might just need the additional configure option: --with-opencl=1
> 
I tried to remove “--with-viennacl=1 --with-viennacl-dir=“, just use 
“--with-opencl=1”, that good for build petsc and examples, but when I run 
"./examples -h “ there is no message about OpenCL or ViennaCL, so my how can I 
know it used OpenCL (GPU)?


Abel

Reply via email to