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



450
451
452
# File 'lib/opencl_ruby_ffi/Context.rb', line 450

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

#set_default_device_command_queue(device, command_queue) ⇒ Object



454
455
456
# File 'lib/opencl_ruby_ffi/Context.rb', line 454

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