pyrqa/opencl.py
def create_contexts(self):
        """ Create device specific OpenCL contexts. """
        for device in self.devices:
            self.print_out(OpenCL.get_device_info(device))

            context = cl.Context(devices=[device])
            self.contexts[device] = context

            command_queue = cl.CommandQueue(context, properties=cl.command_queue_properties.PROFILING_ENABLE)
            self.command_queues[device] = command_queue
 Create device specific OpenCL contexts. 
Create device specific OpenCL contexts.
Create device specific OpenCL contexts .
def create_contexts(self):
        for device in self.devices:
            self.print_out(OpenCL.get_device_info(device))
            context = cl.Context(devices=[device])
            self.contexts[device] = context
            command_queue = cl.CommandQueue(context, properties=cl.command_queue_properties.PROFILING_ENABLE)
            self.command_queues[device] = command_queue
def create_contexts ( self ) : for device in self . devices : self . print_out ( OpenCL . get_device_info ( device ) ) context = cl . Context ( devices = [ device ] ) self . contexts [ device ] = context command_queue = cl . CommandQueue ( context , properties = cl . command_queue_properties . PROFILING_ENABLE ) self . command_queues [ device ] = command_queue
Create device specific OpenCL contexts.
Create device specific OpenCL contexts .
""" Create device specific OpenCL contexts. """
self