Module: OpenCL::Context::OpenCL21

Included in:
OpenCL::Context
Defined in:
lib/opencl_ruby_ffi/Context.rb

Instance Method Summary collapse

Instance Method Details

#create_program_with_il(il) ⇒ Object

Create a Program from an intermediate level representation in the Context

Attributes

  • il - a binary string containing the intermediate level representation of the program



500
501
502
# File 'lib/opencl_ruby_ffi/Context.rb', line 500

def create_program_with_il(il)
  return OpenCL.create_program_with_il(self, il)
end

#set_default_device_command_queue(device, command_queue) ⇒ Object



505
506
507
# File 'lib/opencl_ruby_ffi/Context.rb', line 505

def set_default_device_command_queue( device, command_queue )
  return OpenCL.set_default_device_command_queue( self, device, command_queue )
end