Révision 70

Pi/GPU/Pi-GPU.py (revision 70)
720 720
        for platform in cl.get_platforms():
721 721
          for device in platform.get_devices():
722 722
            deviceType=cl.device_type.to_string(device.type)
723
            print "Device #%i of type %s : %s" % (Id,deviceType,device.name)
723
            print "Device #%i from %s of type %s : %s" % (Id,platform.vendor,deviceType,device.name.lstrip())
724 724
            Id=Id+1
725 725

  
726 726
        print

Formats disponibles : Unified diff