Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
opencl_context = cl.create_some_context()
opencl_queue = cl.CommandQueue(opencl_context)
opencl_kernel = open('./opencl/calculate_error_double.cl', 'r').read()
opencl_program = cl.Program(self.opencl_context, opencl_kernel).build()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.