I recently upgraded my MacBook pro, to discover Apple no longer uses Nvidia and 
has swapped to AMD,
meaning I have had to swap from pycuda to pyopencl.  I have run several Apple 
supplied openCL demos,
though the code at:  http://documen.tician.de/pyopencl/ 
<http://documen.tician.de/pyopencl/>  seems to give odd output, I was hoping 
someone could
validate if this is correct or what steps I should take?  I installed PyOpenCL 
from the instructions bottom of page:  
http://wiki.tiker.net/PyOpenCL/Installation/Mac 
<http://wiki.tiker.net/PyOpenCL/Installation/Mac>

Warmest regards,


Justin


$ python ./pyopencl/pyopencl/examples/demo.py 
Choose platform:
[0] <pyopencl.Platform 'Apple' at 0x7fff0000>
Choice [0]:
Choose device(s):
[0] <pyopencl.Device 'Intel(R) Core(TM) i7-4980HQ CPU @ 2.80GHz' on 'Apple' at 
0xffffffff>
[1] <pyopencl.Device 'Iris Pro' on 'Apple' at 0x1024500>
[2] <pyopencl.Device 'AMD Radeon R9 M370X Compute Engine' on 'Apple' at 
0x1021c00>
Choice, comma-separated [0]:2
Set the environment variable PYOPENCL_CTX=':2' to avoid being asked again.
[ 0.  0.  0. ...,  0.  0.  0.]    <— Is this correct?
0.0                                   <— Is this correct?

Config is:

Model Name:     MacBook Pro
  Model Identifier:     MacBookPro11,5
  Processor Name:       Intel Core i7
  Processor Speed:      2.8 GHz
  Number of Processors: 1
  Total Number of Cores:        4
  L2 Cache (per Core):  256 KB
  L3 Cache:     6 MB
  Memory:       16 GB
  Boot ROM Version:     MBP114.0172.B04
  SMC Version (system): 2.30f2

  System Version:       OS X 10.10.4 (14E46)
  Kernel Version:       Darwin 14.4.0
  Boot Volume:  Macintosh HD
  Boot Mode:    Normal
  Secure Virtual Memory:        Enabled
  Time since boot:      4 days 1:41

AMD Radeon R9 M370X:

  Chipset Model:        AMD Radeon R9 M370X
  Type: GPU
  Bus:  PCIe
  PCIe Lane Width:      x8
  VRAM (Total): 2048 MB
  Vendor:       ATI (0x1002)
  Device ID:    0x6821
  Revision ID:  0x0083
  ROM Revision: 113-C5670E-777
  gMux Version: 4.0.20 [3.2.8]
  EFI Driver Version:   01.00.777
  Displays:
Color LCD:
  Display Type: Retina LCD
  Resolution:   2880 x 1800 Retina
  Retina:       Yes
  Pixel Depth:  32-Bit Color (ARGB8888)
  Main Display: Yes
  Mirror:       Off
  Online:       Yes
  Built-In:     Yes

[ end ]


_______________________________________________
PyOpenCL mailing list
[email protected]
http://lists.tiker.net/listinfo/pyopencl

Reply via email to