class

CrOpenCL::Program

Inherits Reference / Object

Constructors

new(context : Context, source : String)
Source

Class methods

from_file(context, filename)
Source

Instance methods

context
Source
device

Programs get run on a device. Just return the device of the context the program was created under

Source
finalize
Source
to_unsafe
Source

Macros

method_missing(call)

Call args to invoke kernel: program.my_kernel queue, global_work_group_size, event, event_wait_list, kernel_args...

  • queue (CommandQueue)
  • global_work_group_size (> 0)
  • event (Event | Nil)
  • event_wait_list (Array(Event) | Nil)
Source