ocl_ga_client.py 文件源码

python
阅读 33 收藏 0 点赞 0 评论 0

项目:OpenCLGA 作者: PyOCL 项目源码 文件源码
def __init__(self, platform_index, device_index, ip, port):
        Process.__init__(self)
        Logger.__init__(self)
        # self.logger_level ^= Logger.MSG_VERBOSE
        self.daemon = True
        self.exit_evt = Event()
        self.running = Value('i', 0)
        self.platform_index = platform_index
        self.device_index = device_index
        self.ip = ip
        self.port = port
        self.uuid = uuid.uuid1().hex
        self.ocl_ga = None

    ## Terminate worker process, this should be only called when OpenCLGAClient
    #  is shutting down. The exti_evt will be set to break the wait in the
    #  process's run.
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号